Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic context-sensitive joystick actions #157

Merged
merged 41 commits into from Mar 20, 2019
Merged

Add generic context-sensitive joystick actions #157

merged 41 commits into from Mar 20, 2019

Conversation

AliceLR
Copy link
Owner

@AliceLR AliceLR commented Feb 5, 2019

Add generic joystick actions to allow joystick inputs to be more consistent across different interfaces and to hopefully make input mapping between consoles more consistent and useful.

  • Use joystick helper functions in core.c
  • Config support for joystick actions
  • Joystick action autorepeat
  • Joystick handler functions for contexts
  • SDL: update primary joystick when a joystick is plugged/unplugged Allow all joysticks to send UI actions
  • SDL: replace the Pandora joystick mapping hack with explicit checks in SDL_KEYUP/SDL_KEYDOWN so the proper joystick press/release functions can be used.
  • Fix NDS port, update pad.config
  • Fix 3DS port, update pad.config
  • Fix Wii port, update pad.config
  • Update PSP pad.config
  • Update GP2X pad.config
  • Add act_ prefixes to actions so they can't be confused with key names
  • Automatically generate mappings for SDL 2.0 platforms
  • Add more SDL mappings using SDL_GameControllerDB
  • SDL mappings shouldn't overwrite user-defined config mappings
  • Config options to change default SDL→MZX actions, to add user-defined SDL_GameController mappings, and to disable automated joystick mapping altogether
  • pad.config files need better standardization
  • General feedback/testing

@AliceLR AliceLR added this to the 2.92 milestone Feb 5, 2019
@AliceLR AliceLR merged commit b2ef198 into master Mar 20, 2019
@AliceLR AliceLR deleted the joy-action branch March 20, 2019 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant