mirror of
https://github.com/yawut/SDL.git
synced 2026-06-03 06:35:10 -05:00
rofferom
I have an annoying issue on MacOS about XBoxOne Bluetooth rumble (Vendor: 0x045e, Product: 0x02fd).
When 360controller is installed, rumble is working correctly. However, Bluetooth rumble isn't working at all, with or without 360controller installed (although it is working with Chrome + https://html5gamepad.com).
I looked at the code, and it seems that XBox controllers are managed in MacOS in this file: SDL_hidapi_xbox360.c. The XBoxOne file is disabled for MacOS in SDL_hidjoystick_c.h.
The function HIDAPI_DriverXbox360_Rumble() is called correctly, and hid_write() returns no error.
I have tried a stupid test. I took the rumble packet from 360controller:
|
||
|---|---|---|
| .. | ||
| android | ||
| bsd | ||
| darwin | ||
| dummy | ||
| emscripten | ||
| haiku | ||
| hidapi | ||
| iphoneos | ||
| linux | ||
| psp | ||
| steam | ||
| windows | ||
| controller_type.h | ||
| SDL_gamecontroller.c | ||
| SDL_gamecontrollerdb.h | ||
| SDL_joystick_c.h | ||
| SDL_joystick.c | ||
| SDL_sysjoystick.h | ||
| sort_controllers.py | ||
| usb_ids.h | ||