2 Commits
Author SHA1 Message Date
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
Matthew Fioravante b2063a7aa3 Add FlatUniqueMultiMap generic container - use for input buttons 2020-05-05 12:13:08 -04:00