Added HIDAPI support for the 8BitDo Ultimate 2 Wireless Controller running firmware v1.03 or newer over Bluetooth.
This commit is contained in:
8BitDo authored and GitHub committed 2025-03-31 09:56:01 -07:00
1 parent 6b1d6bfbe7
commit e18c6bd2e7
13 files changed
+465 -1

No files matched your search

+13
View File
@@ -1734,6 +1734,19 @@ extern "C" {
*/
#define SDL_HINT_JOYSTICK_HIDAPI_LG4FF "SDL_JOYSTICK_HIDAPI_LG4FF"
/**
* A variable controlling whether the HIDAPI driver for 8BitDo
* controllers should be used.
*
* This variable can be set to the following values:
*
* "0" - HIDAPI driver is not used.
* "1" - HIDAPI driver is used.
*
* The default is the value of SDL_HINT_JOYSTICK_HIDAPI
*/
#define SDL_HINT_JOYSTICK_HIDAPI_8BITDO "SDL_JOYSTICK_HIDAPI_8BITDO"
/**
* A variable controlling whether the HIDAPI driver for Nintendo Switch
* controllers should be used.