TitanTwo
TitanTwo copied to clipboard
[REQUEST] Switch N64 controller support
It'd be great to have Switch N64 support to play classic games on the Xbox 360 / One / Series. Raphnet Adapter and Mayflash already work - kind of - but the Switch controller offers some extra buttons that could be of great help.
Here's the HID Descriptors:
[USB DESCRIPTOR]
12 01 00 02 00 00 00 40 7E 05 19 20 12 02 01 02 03 01 09 02 29 00 01 01 00 A0 FA 09 04 00 00 02 03 00 00 00 09 21 11 01 00 01 22 CB 00 07 05 81 03 40 00 08 07 05 01 03 40 00 08
[STRING 1 DESCRIPTOR]
00 00 00 02 00 00 02 01 80 06 03 01 04 09 00 26
26 03 4E 00 69 00 6E 00 74 00 65 00 6E 00 64 00 6F 00 20 00 43 00 6F 00 2E 00 2C 00 20 00 4C 00 74 00 64 00 2E 00
[STRING 2 DESCRIPTOR]
00 00 00 02 00 00 02 01 80 06 03 02 04 09 00 1E
1E 03 4E 00 36 00 34 00 20 00 43 00 6F 00 6E 00 74 00 72 00 6F 00 6C 00 6C 00 65 00 72 00
[STRING 3 DESCRIPTOR]
00 00 00 02 00 00 02 01 80 06 03 03 04 09 00 1A
1A 03 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 31 00
[INTERFACE 0 HID DESCRIPTOR]
00 00 00 02 00 00 02 01 81 06 22 00 00 00 00 CB
05 01 15 00 09 04 A1 01 85 30 05 01 05 09 19 01 29 0A 15 00 25 01 75 01 95 0A 55 00 65 00 81 02 05 09 19 0B 29 0E 15 00 25 01 75 01 95 04 81 02 75 01 95 02 81 03 0B 01 00 01 00 A1 00 0B 30 00 01 00 0B 31 00 01 00 0B 32 00 01 00 0B 35 00 01 00 15 00 27 FF FF 00 00 75 10 95 04 81 02 C0 0B 39 00 01 00 15 00 25 07 35 00 46 3B 01 65 14 75 04 95 01 81 02 05 09 19 0F 29 12 15 00 25 01 75 01 95 04 81 02 75 08 95 34 81 03 06 00 FF 85 21 09 01 75 08 95 3F 81 03 85 81 09 02 75 08 95 3F 81 03 85 01 09 03 75 08 95 3F 91 83 85 10 09 04 75 08 95 3F 91 83 85 80 09 05 75 08 95 3F 91 83 85 82 09 06 75 08 95 3F 91 83 C0
[USB SNIFF]
00 00 00 01 00 00 01 00 80 06 01 00 00 00 00 40
00 00 00 02 00 00 02 01 80 06 01 00 00 00 00 40
12 01 00 02 00 00 00 40 7E 05 19 20 12 02 01 02 03 01
00 00 00 01 00 00 01 00 00 05 00 1C 00 00 00 00
00 00 00 02 00 00 02 01 00 05 00 03 00 00 00 00
1C
00 00 00 01 00 00 01 00 80 06 01 00 00 00 00 12
00 00 00 02 00 00 02 01 80 06 01 00 00 00 00 12
12 01 00 02 00 00 00 40 7E 05 19 20 12 02 01 02 03 01
00 00 00 01 00 00 01 00 80 06 02 00 00 00 00 FF
00 00 00 02 00 00 02 01 80 06 02 00 00 00 00 FF
09 02 29 00 01 01 00 A0 FA 09 04 00 00 02 03 00 00 00 09 21 11 01 00 01 22 CB 00 07 05 81 03 40 00 08 07 05 01 03 40 00 08
00 00 00 01 00 00 01 00 80 06 03 03 04 09 00 FF
00 00 00 02 00 00 02 01 80 06 03 03 04 09 00 FF
1A 03 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 31 00
00 00 00 01 00 00 01 00 80 06 03 00 00 00 00 FF
00 00 00 02 00 00 02 01 80 06 03 00 00 00 00 FF
04 03 09 04
00 00 00 01 00 00 01 00 80 06 03 02 04 09 00 FF
00 00 00 02 00 00 02 01 80 06 03 02 04 09 00 FF
1E 03 4E 00 36 00 34 00 20 00 43 00 6F 00 6E 00 74 00 72 00 6F 00 6C 00 6C 00 65 00 72 00
00 00 00 01 00 00 01 00 80 06 06 00 00 00 00 0A
00 00 00 02 00 00 02 02 80 06 06 00 00 00 00 0A
00 00 00 01 00 00 01 00 80 06 01 00 00 00 00 12
00 00 00 02 00 00 02 01 80 06 01 00 00 00 00 12
12 01 00 02 00 00 00 40 7E 05 19 20 12 02 01 02 03 01
00 00 00 01 00 00 01 00 80 06 02 00 00 00 00 09
00 00 00 02 00 00 02 01 80 06 02 00 00 00 00 09
09 02 29 00 01 01 00 A0 FA
00 00 00 01 00 00 01 00 80 06 02 00 00 00 00 29
00 00 00 02 00 00 02 01 80 06 02 00 00 00 00 29
09 02 29 00 01 01 00 A0 FA 09 04 00 00 02 03 00 00 00 09 21 11 01 00 01 22 CB 00 07 05 81 03 40 00 08 07 05 01 03 40 00 08
00 00 00 01 00 00 01 00 00 09 00 01 00 00 00 00
00 00 00 02 00 00 02 01 00 09 00 01 00 00 00 00
00 00 00 01 00 00 01 00 21 0A 00 00 00 00 00 00
00 00 00 02 00 00 02 01 21 0A 00 00 00 00 00 00
00 00 00 01 00 00 01 00 81 06 22 00 00 00 01 0B
00 00 00 02 00 00 02 01 81 06 22 00 00 00 01 0B
05 01 15 00 09 04 A1 01 85 30 05 01 05 09 19 01 29 0A 15 00 25 01 75 01 95 0A 55 00 65 00 81 02 05 09 19 0B 29 0E 15 00 25 01 75 01 95 04 81 02 75 01 95 02 81 03 0B 01 00 01 00 A1 00 0B 30 00 01 00 0B 31 00 01 00 0B 32 00 01 00 0B 35 00 01 00 15 00 27 FF FF 00 00 75 10 95 04 81 02 C0 0B 39 00 01 00 15 00 25 07 35 00 46 3B 01 65 14 75 04 95 01 81 02 05 09 19 0F 29 12 15 00 25 01 75 01 95 04 81 02 75 08 95 34 81 03 06 00 FF 85 21 09 01 75 08 95 3F 81 03 85 81 09 02 75 08 95 3F 81 03 85 01 09 03 75 08 95 3F 91 83 85 10 09 04 75 08 95 3F 91 83 85 80 09 05 75 08 95 3F 91 83 85 82 09 06 75 08 95 3F 91 83 C0