* [PATCH] HID: hid-sony: Navigator Axis for L1 button
@ 2015-07-10 6:10 Simon Wood
2015-07-13 11:28 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Simon Wood @ 2015-07-10 6:10 UTC (permalink / raw)
To: linux-input; +Cc: linux-kernel, jkosina, frank.praznik, Simon Wood
Patch HID report descriptor to add joystick axis for the L1 button (previously missing).
Signed-off-by: Simon Wood <simon@mungewell.org>
---
drivers/hid/hid-sony.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index ed2f008..69586b3 100644
--- a/drivers/hid/hid-sony.c
+++ b/drivers/hid/hid-sony.c
@@ -296,7 +296,14 @@ static __u8 navigation_rdesc[] = {
0x09, 0x01, /* Usage (Pointer), */
0x81, 0x02, /* Input (Variable), */
0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
- 0x95, 0x20, /* Report Count (26), */
+ 0x95, 0x01, /* Report Count (1), */
+ 0x81, 0x02, /* Input (Variable), */
+ 0x05, 0x01, /* Usage Page (Desktop), */
+ 0x95, 0x01, /* Report Count (1), */
+ 0x09, 0x01, /* Usage (Pointer), */
+ 0x81, 0x02, /* Input (Variable), */
+ 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
+ 0x95, 0x1E, /* Report Count (24), */
0x81, 0x02, /* Input (Variable), */
0x75, 0x08, /* Report Size (8), */
0x95, 0x30, /* Report Count (48), */
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] HID: hid-sony: Navigator Axis for L1 button
2015-07-10 6:10 [PATCH] HID: hid-sony: Navigator Axis for L1 button Simon Wood
@ 2015-07-13 11:28 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2015-07-13 11:28 UTC (permalink / raw)
To: Simon Wood; +Cc: linux-input, linux-kernel, frank.praznik
On Fri, 10 Jul 2015, Simon Wood wrote:
> Patch HID report descriptor to add joystick axis for the L1 button (previously missing).
>
> Signed-off-by: Simon Wood <simon@mungewell.org>
Applied to for-4.3/sony.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-13 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10 6:10 [PATCH] HID: hid-sony: Navigator Axis for L1 button Simon Wood
2015-07-13 11:28 ` Jiri Kosina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.