Added support for the PowerA Fusion Pro Wireless Controller in Bluetooth mode

This controller shows up with a VID/PID of 0, but has full functionality over Bluetooth
This commit is contained in:
Sam Lantinga
2023-06-13 22:20:58 -07:00
parent 0f4b15e16b
commit cdfc0c5a33
5 changed files with 26 additions and 13 deletions

View File

@@ -146,7 +146,7 @@ extern SDL_GamepadType HIDAPI_GetGamepadTypeFromGUID(SDL_JoystickGUID guid);
extern void HIDAPI_UpdateDevices(void);
extern void HIDAPI_SetDeviceName(SDL_HIDAPI_Device *device, const char *name);
extern void HIDAPI_SetDeviceProduct(SDL_HIDAPI_Device *device, Uint16 product_id);
extern void HIDAPI_SetDeviceProduct(SDL_HIDAPI_Device *device, Uint16 vendor_id, Uint16 product_id);
extern void HIDAPI_SetDeviceSerial(SDL_HIDAPI_Device *device, const char *serial);
extern SDL_bool HIDAPI_HasConnectedUSBDevice(const char *serial);
extern void HIDAPI_DisconnectBluetoothDevice(const char *serial);