6 Commits
Author SHA1 Message Date
Ghabry 2a6f3dceec Minor header cleanup
Add Header required for liblcf#499
2025-03-19 21:17:39 +01:00
Ghabry 8b22e2341d Rename EnumTag variables to make more clear to what they belong to 2023-11-30 13:35:47 +01:00
Ghabry 0630a0ebad Settings: Limit to 16 input mappings
Otherwise it crashes because the window buffer is too small
2023-03-12 21:24:28 +01:00
Ghabry 4b00cedc48 Settings: Add emergency input reset and protect certain buttons
Emergency reset loads the defaults for the last mapped button when 4 keys are held for 3 seconds.
After 3 seconds more all buttons are set to default.
This prevents that the Player becomes unusable.

Protection will prevent unmapping the last button for essential buttons.
Essential are: Directions, Confirm, Cancel and Settings menu
However this can still make the Player unusable, therefore the emergency reset.

When loading the configuration unmapped protected buttons get the default assigned.
2023-01-20 18:24:26 +01:00
Ghabry 945a4f427c Settings: Readd support for custom button names 2023-01-11 11:34:11 +01:00
Ghabry 52ca057798 Settings: Redo input ui 2023-01-07 00:54:03 +01:00