mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 08:56:25 +00:00
Disable the HIDAPI Wii driver by default as it doesn't work with the dolphinbar
This commit is contained in:
@@ -170,9 +170,13 @@ HIDAPI_DriverWii_UnregisterHints(SDL_HintCallback callback, void *userdata)
|
||||
static SDL_bool
|
||||
HIDAPI_DriverWii_IsEnabled(void)
|
||||
{
|
||||
#if 1 /* This doesn't work with the dolphinbar, so don't enable by default right now */
|
||||
return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_WII, SDL_FALSE);
|
||||
#else
|
||||
return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_WII,
|
||||
SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI,
|
||||
SDL_HIDAPI_DEFAULT));
|
||||
#endif
|
||||
}
|
||||
|
||||
static SDL_bool
|
||||
|
Reference in New Issue
Block a user