diff --git a/src/joystick/hidapi/SDL_hidapi_switch2.c b/src/joystick/hidapi/SDL_hidapi_switch2.c index 7fbb95d7b1..8f3203fa2d 100644 --- a/src/joystick/hidapi/SDL_hidapi_switch2.c +++ b/src/joystick/hidapi/SDL_hidapi_switch2.c @@ -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, },