mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 23:56:19 +00:00
Revamped Xbox One HIDAPI init sequence
Added support for querying the controller serial number on newer firmware
This commit is contained in:
@@ -774,7 +774,6 @@ RAWINPUT_AddDevice(HANDLE hDevice)
|
||||
|
||||
device->joystick_id = SDL_GetNextJoystickInstanceID();
|
||||
|
||||
#define DEBUG_RAWINPUT
|
||||
#ifdef DEBUG_RAWINPUT
|
||||
SDL_Log("Adding RAWINPUT device '%s' VID 0x%.4x, PID 0x%.4x, version %d, handle 0x%.8x\n", device->name, device->vendor_id, device->product_id, device->version, device->hDevice);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user