Skip to content

Commit ad07b7a

Browse files
soreauJiri Kosina
authored andcommitted
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 <[email protected]> Acked-by: Antonio Ospite <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 74500cc commit ad07b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-sony.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ static void sixaxis_send_output_report(struct sony_sc *sc)
18021802
static const union sixaxis_output_report_01 default_report = {
18031803
.buf = {
18041804
0x01,
1805-
0x00, 0xff, 0x00, 0xff, 0x00,
1805+
0x01, 0xff, 0x00, 0xff, 0x00,
18061806
0x00, 0x00, 0x00, 0x00, 0x00,
18071807
0xff, 0x27, 0x10, 0x00, 0x32,
18081808
0xff, 0x27, 0x10, 0x00, 0x32,

0 commit comments

Comments
 (0)