aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2016-01-13 09:40:43 -0500
committerJiri Kosina <jkosina@suse.cz>2016-01-18 17:09:55 -0500
commitad07b7a6cf8898e1ec76a2641f6186c80d0b8a29 (patch)
tree8d247a61b21d6075c9479f2cc0f35c32d3b02076
parent74500cc859431de12469f12b8e711d65efdc7604 (diff)
HID: sony: Fixup output reports for the nyko core controller
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>
-rw-r--r--drivers/hid/hid-sony.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index 123b11a25ce6..173af01ca080 100644
--- 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)
1802 static const union sixaxis_output_report_01 default_report = { 1802 static const union sixaxis_output_report_01 default_report = {
1803 .buf = { 1803 .buf = {
1804 0x01, 1804 0x01,
1805 0x00, 0xff, 0x00, 0xff, 0x00, 1805 0x01, 0xff, 0x00, 0xff, 0x00,
1806 0x00, 0x00, 0x00, 0x00, 0x00, 1806 0x00, 0x00, 0x00, 0x00, 0x00,
1807 0xff, 0x27, 0x10, 0x00, 0x32, 1807 0xff, 0x27, 0x10, 0x00, 0x32,
1808 0xff, 0x27, 0x10, 0x00, 0x32, 1808 0xff, 0x27, 0x10, 0x00, 0x32,