Navigation Menu

Skip to content

Commit

Permalink
Fixed handling the 8BitDo M30 in Nintendo Switch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 8, 2020
1 parent f4375e8 commit a56aaea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/joystick/hidapi/SDL_hidapi_switch.c
Expand Up @@ -445,7 +445,8 @@ static SDL_bool BTrySetupUSB(SDL_DriverSwitch_Context *ctx)
return SDL_FALSE;
}
if (!WriteProprietary(ctx, k_eSwitchProprietaryCommandIDs_HighSpeed, NULL, 0, SDL_TRUE)) {
return SDL_FALSE;
/* The 8BitDo M30 doesn't respond to this command, but otherwise works correctly */
/*return SDL_FALSE;*/
}
if (!WriteProprietary(ctx, k_eSwitchProprietaryCommandIDs_Handshake, NULL, 0, SDL_TRUE)) {
return SDL_FALSE;
Expand Down

0 comments on commit a56aaea

Please sign in to comment.