Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad07b7a6 authored by Scott Moreau's avatar Scott Moreau Committed by Jiri Kosina
Browse files

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: default avatarScott Moreau <oreaus@gmail.com>
Acked-by: default avatarAntonio Ospite <ao2@ao2.it>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 74500cc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1802,7 +1802,7 @@ static void sixaxis_send_output_report(struct sony_sc *sc)
	static const union sixaxis_output_report_01 default_report = {
	static const union sixaxis_output_report_01 default_report = {
		.buf = {
		.buf = {
			0x01,
			0x01,
			0x00, 0xff, 0x00, 0xff, 0x00,
			0x01, 0xff, 0x00, 0xff, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00,
			0xff, 0x27, 0x10, 0x00, 0x32,
			0xff, 0x27, 0x10, 0x00, 0x32,
			0xff, 0x27, 0x10, 0x00, 0x32,
			0xff, 0x27, 0x10, 0x00, 0x32,