4/25/2023 0 Comments Use nimbus controller for mac![]() ![]() ![]() On both iOS and Mac OS X you can use the SDL_GameController API to get consistent inputs (so e.g. The triggers are exposed as axes rather than buttons. I’ve made the SDL_Joystick inputs for that backend match SDL’s XInput backend as closely as possible, since those two backends accomplish effectively the same thing (platform-specific gamepad APIs used for SDL's Joystick APIs, rather than generic platform joystick APIs used for SDL’s joystick APIs). SDL on iOS uses Apple’s GameController framework to handle gamepads. The controller reports its own thumbstick y-axes as inverted compared to other gamepads (when querying its inputs via the HID APIs), unfortunately.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |