panda3d
panda3d copied to clipboard
Feature Request: MacOS: Implement support for the GameController API
Since MacOS 10.15 (Catalina), using the IOKit interface to retrieve and use user devices like game controllers, the OS requires the user to accept a new security permission "Input monitoring". Without that permission, code using IOKit can only detect that the hardware exists but can not retrieve its characteristics nor control it.
Instead, the GameController API should be used to do the job, see the reference here : https://developer.apple.com/library/archive/documentation/ServicesDiscovery/Conceptual/GameControllerPG/Introduction/Introduction.html and the official presentation : https://developer.apple.com/videos/play/wwdc2019/616/
The list of supported hardware is here : https://developer.apple.com/videos/play/wwdc2019/616/