mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@novell.com>
To: greg@kroah.com
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [patch] hdaps: missing an axis.
Date: Tue, 22 Nov 2005 10:57:21 -0500	[thread overview]
Message-ID: <1132675041.29496.2.camel@betsy.boston.ximian.com> (raw)


Greg,

Trivial patch to report both hdaps axises to the joystick device, not
just the X axis.

Patch originally by Eugeniy Meshcheryakov <eugen@univ.kiev.ua>.

Signed-off-by: Robert Love <rml@novell.com>

	Robert Love


diff -urN a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
--- a/drivers/hwmon/hdaps.c	Wed Nov 16 17:18:55 2005
+++ b/drivers/hwmon/hdaps.c	Tue Nov 22 14:24:25 2005
@@ -570,7 +570,7 @@
 	hdaps_idev->evbit[0] = BIT(EV_ABS);
 	input_set_abs_params(hdaps_idev, ABS_X,
 			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
-	input_set_abs_params(hdaps_idev, ABS_X,
+	input_set_abs_params(hdaps_idev, ABS_Y,
 			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
 
 	input_register_device(hdaps_idev);



             reply	other threads:[~2005-11-22 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22 15:57 Robert Love [this message]
2005-11-22 20:21 ` Jean Delvare
2005-11-22 20:54   ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1132675041.29496.2.camel@betsy.boston.ximian.com \
    --to=rml@novell.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®