mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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]>
This commit is contained in:
parent
74500cc859
commit
ad07b7a6cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
0x00, 0xff, 0x00, 0xff, 0x00,
|
||||
0x01, 0xff, 0x00, 0xff, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0xff, 0x27, 0x10, 0x00, 0x32,
|
||||
0xff, 0x27, 0x10, 0x00, 0x32,
|
||||
|
|
|
|||
Loading…
Reference in a new issue