From: Paul Sbarra <sbarra.paul@gmail.com>
To: jkosina@suse.cz, simon@mungewell.org
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
Paul Sbarra <sbarra.paul@gmail.com>
Subject: [PATCH 2/2] hid: Split accel, brake for Logitech Driving Force wheel
Date: Sun, 17 Feb 2013 11:53:14 -0600 [thread overview]
Message-ID: <1361123594-2813-2-git-send-email-sbarra.paul@gmail.com> (raw)
In-Reply-To: <1361123594-2813-1-git-send-email-sbarra.paul@gmail.com>
Signed-off-by: Paul Sbarra <sbarra.paul@gmail.com>
---
drivers/hid/hid-lg.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c
index 6daa192..6bb7f05 100644
--- a/drivers/hid/hid-lg.c
+++ b/drivers/hid/hid-lg.c
@@ -81,7 +81,6 @@ static __u8 df_rdesc_fixed[] = {
0x09, 0x01, /* Usage (?: 1), */
0x81, 0x02, /* Input (Variable), */
0x05, 0x01, /* Usage Page (Desktop), */
-0x09, 0x31, /* Usage (Y), */
0x26, 0xFF, 0x00, /* Logical Maximum (255), */
0x46, 0xFF, 0x00, /* Physical Maximum (255), */
0x95, 0x01, /* Report Count (1), */
@@ -101,11 +100,14 @@ static __u8 df_rdesc_fixed[] = {
0x25, 0x01, /* Logical Maximum (1), */
0x45, 0x01, /* Physical Maximum (1), */
0x81, 0x02, /* Input (Variable), */
-0x95, 0x02, /* Report Count (2), */
+0x05, 0x01, /* Usage Page (Desktop), */
+0x95, 0x01, /* Report Count (1), */
0x75, 0x08, /* Report Size (8), */
0x26, 0xFF, 0x00, /* Logical Maximum (255), */
0x46, 0xFF, 0x00, /* Physical Maximum (255), */
-0x09, 0x02, /* Usage (?: 2), */
+0x09, 0x31, /* Usage (Y), */
+0x81, 0x02, /* Input (Variable), */
+0x09, 0x35, /* Usage (Rz), */
0x81, 0x02, /* Input (Variable), */
0xC0, /* End Collection, */
0xA1, 0x02, /* Collection (Logical), */
--
1.8.1.2
next prev parent reply other threads:[~2013-02-17 17:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 17:53 [PATCH 1/2] hid: Add report descriptor " Paul Sbarra
2013-02-17 17:53 ` Paul Sbarra [this message]
2013-02-18 19:24 ` [PATCH 2/2] hid: Split accel, brake " simon
2013-02-18 19:22 ` [PATCH 1/2] hid: Add report descriptor " simon
2013-02-19 12:52 ` Jiri Kosina
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=1361123594-2813-2-git-send-email-sbarra.paul@gmail.com \
--to=sbarra.paul@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=simon@mungewell.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®