mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Fixed handling the 8BitDo M30 in Nintendo Switch mode
This commit is contained in:
parent
f4375e86f9
commit
a56aaea139
@ -445,7 +445,8 @@ static SDL_bool BTrySetupUSB(SDL_DriverSwitch_Context *ctx)
|
|||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
if (!WriteProprietary(ctx, k_eSwitchProprietaryCommandIDs_HighSpeed, NULL, 0, SDL_TRUE)) {
|
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)) {
|
if (!WriteProprietary(ctx, k_eSwitchProprietaryCommandIDs_Handshake, NULL, 0, SDL_TRUE)) {
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user