-
Notifications
You must be signed in to change notification settings - Fork 193
SDL Hat support code suggestion #89
Copy link
Copy link
Closed
Description
I was looking at platform/libpicofe/in_sdl.c and see that the input layouts follow this standard closely:
SDL Quick Reference
Simply changing line 276 from 1 to 8 allows stick "2" to control the GUI.
if (event->jaxis.axis > 8)
Unfortunately attempts to map stick "1" lead to \x00 for movement along any directional. Without either HAT support or a Joystick, one must use something like AntiMicro to map the gamepad to keyboard events to play a game.
This issue isn't specifically for the developer, I simply don't have the programming skils (any actually) to alter the code in a meaningful way.
Perhaps someone else would be able to update the code for said functionality. Thank you for your attention and the beautiful emulator work.
- Ubuntu 18.04, Bionic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels