mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-27 08:39:09 +00:00
switch2: Remove some unneeded init commands
These commands seem to be queries the console sends, not setup
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user