switch2: Remove some unneeded init commands

These commands seem to be queries the console sends, not setup
This commit is contained in:
Vicki Pfau authored and Sam Lantinga committed 2025-11-13 20:46:46 -08:00
1 parent f0d4aca03d
commit 9fd3dbfc42
1 file changed
-12
-12
View File
@@ -391,15 +391,9 @@ static bool HIDAPI_DriverSwitch2_InitUSB(SDL_HIDAPI_Device *device)
(Uint8[]) { // Unknown purpose
0x7, 0x91, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Unknown purpose
0x16, 0x91, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Set feature output bit mask
0x0c, 0x91, 0x00, 0x02, 0x00, 0x04, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00
},
(Uint8[]) { // Unknown purpose
0x11, 0x91, 0x0, 0x3, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Unknown purpose
0x11, 0x91, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0,
},
@@ -412,18 +406,12 @@ static bool HIDAPI_DriverSwitch2_InitUSB(SDL_HIDAPI_Device *device)
(Uint8[]) { // Enable feature output bits
0x0c, 0x91, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00
},
(Uint8[]) { // Unknown purpose
0x10, 0x91, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Unknown purpose
0x01, 0x91, 0x0, 0xc, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Enable rumble
0x01, 0x91, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Unknown purpose
0x8, 0x91, 0x0, 0x1, 0x0, 0x4, 0x0, 0x0, 0x20, 0x0, 0x0, 0x0,
},
(Uint8[]) { // Enable grip buttons on charging grip
0x8, 0x91, 0x0, 0x2, 0x0, 0x4, 0x0, 0x0, 0x01, 0x0, 0x0, 0x0,
},