projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74500cc
)
HID: sony: Fixup output reports for the nyko core controller
author
Scott Moreau
<oreaus@gmail.com>
Wed, 13 Jan 2016 14:40:43 +0000
(07:40 -0700)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 18 Jan 2016 22:09:55 +0000
(23:09 +0100)
The nyko core controller uses the same output report format as the
sixaxis controllers, but it expects the report id at offset 1.
This does not interfere with the official controllers as this byte
is considered a padding byte by the current code.
Signed-off-by: Scott Moreau <oreaus@gmail.com>
Acked-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-sony.c
b/drivers/hid/hid-sony.c
index 123b11a25ce6e18e1465a60966704e8adadf7f43..173af01ca080a5fe4018b2d2e78a803607cad472 100644
(file)
--- a/
drivers/hid/hid-sony.c
+++ b/
drivers/hid/hid-sony.c
@@
-1802,7
+1802,7
@@
static void sixaxis_send_output_report(struct sony_sc *sc)
static const union sixaxis_output_report_01 default_report = {
.buf = {
0x01,
- 0x0
0
, 0xff, 0x00, 0xff, 0x00,
+ 0x0
1
, 0xff, 0x00, 0xff, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0x27, 0x10, 0x00, 0x32,
0xff, 0x27, 0x10, 0x00, 0x32,