Controllers broken on macOS
Here's the original report: https://www.reddit.com/r/OpenMW/comments/5gj7o8/controller_problems/
I believe this can be the culprit: https://github.com/gabomdq/SDL_GameControllerDB/issues/110 because I'm using SDL 2.0.5 for macOS builds at the moment.
A patch to support old GUID format is already in upstream of SDL, but isn't yet released.
Also, I noticed we haven't been updating gamecontrollerdb.txt from upstream for 6 month.
#2 Updated by Nikolay Kasyanov 12 months ago
- Status changed from In Progress to Feedback needed
- % Done changed from 0 to 50
Here's the test build: http://downloads.openmw.org/osx/OpenMW-controller-fix-9e8e9aef8.dmg.
#3 Updated by Nikolay Kasyanov 12 months ago
#11 Updated by Will Herrmann 5 months ago
- Reproducibility changed from Have not tried to Always
Now that this is the master issue for controller problems on macOS, I'll mention in this issue that my Xbox One bluetooth controller (with the default drivers shipping with macOS) does not work in OpenMW. I also pulled out a USB Logitech Rumblepad 2 and that one doesn't work either. This happens both with code I build from source and the 2017-09-09 nightly.
Several people have pointed out that our controller mappings come from this repository. Unfortunately, there haven't been any accepted pull requests since February. The developer is active on Twitter, so perhaps someone is interested in poking him (I don't have one myself). Otherwise, we may have to explore forking the repository in order to fix our issues.
#14 Updated by Will Herrmann 5 months ago
I mistyped in the last message: this happens both with the latest nightly build (which already has this patch installed, no?) and when I build on my own. I am using 2.0.5 to build locally, but also pointing to the OpenMW-mac-deps, so I believe I have the patch already. If that's not the case, let me know.