We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5111

Summary: [PATCH] Xbox One Bluetooth controllers aren't picked up by HIDAPI on macOS
Product: SDL Reporter: Cameron Gutman <cameron.gutman>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: macOS 10.15   
Attachments: Enable Xbox One HIDAPI driver on macOS

Description Cameron Gutman 2020-04-26 02:28:03 UTC
Xbox One S Bluetooth controllers are getting picked up by the regular IOKit joystick support on macOS rather than HIDAPI. The HIDAPI driver is required to enable force feedback and correct the button mapping on the 4.8 controller firmware.

The Xbox One HIDAPI driver was disabled on macOS because at the time the Xbox 360 driver handled all Xbox One controllers. Since then, Xbox One support in HIDAPI has been significantly refactored (https://hg.libsdl.org/SDL/rev/2c4ec356333e) and the Xbox One HIDAPI driver is now required on macOS for Bluetooth Xbox One S controller support.
Comment 1 Cameron Gutman 2020-04-26 02:29:06 UTC
Created attachment 4322 [details]
Enable Xbox One HIDAPI driver on macOS
Comment 2 Cameron Gutman 2020-05-31 18:34:31 UTC
Bumping for review.

This has been shipping in Moonlight for a bit over a month. No problems reported.
Comment 3 Sam Lantinga 2020-06-03 00:05:16 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/fcc95c568261