From 99fe8ad5521aaa9bc79950cdd31a97892ab49f65 Mon Sep 17 00:00:00 2001 From: Mikhailzrick Date: Fri, 19 Jul 2024 04:25:07 -0500 Subject: [PATCH 1/3] sp-fix-dpadswitch-drastic-sansjoystick --- .../triggers.d/multimedia_keys.conf | 2 +- .../configs/emulationstation/es_input.cfg | 2 + .../usr/share/evmapy/nds.drastic.keys | 140 ++++++++++++++++++ 3 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/evmapy/nds.drastic.keys diff --git a/board/batocera/allwinner/h700/fsoverlay/etc/triggerhappy/triggers.d/multimedia_keys.conf b/board/batocera/allwinner/h700/fsoverlay/etc/triggerhappy/triggers.d/multimedia_keys.conf index a2df9c7ab5c..d09d2fbb60c 100644 --- a/board/batocera/allwinner/h700/fsoverlay/etc/triggerhappy/triggers.d/multimedia_keys.conf +++ b/board/batocera/allwinner/h700/fsoverlay/etc/triggerhappy/triggers.d/multimedia_keys.conf @@ -5,4 +5,4 @@ KEY_POWER 0 /usr/bin/power-button-release KEY_VOLUMEUP+BTN_TL2 1 batocera-brightness + 5 KEY_VOLUMEDOWN+BTN_TL2 1 batocera-brightness - 5 KEY_POWER+BTN_TL2 1 /usr/bin/power-led -BTN_TL+BTN_TL2 1 /usr/bin/dpad-toggle +BTN_TL+BTN_TL2 1 /usr/bin/dpad-toggle diff --git a/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg b/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg index a6f57c3e86d..80a26d0573d 100644 --- a/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg +++ b/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg @@ -5070,5 +5070,7 @@ + + diff --git a/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/evmapy/nds.drastic.keys b/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/evmapy/nds.drastic.keys new file mode 100644 index 00000000000..ce87f6ec9a1 --- /dev/null +++ b/board/batocera/allwinner/h700/rg35xx-sp/fsoverlay/usr/share/evmapy/nds.drastic.keys @@ -0,0 +1,140 @@ +{ + "actions_player1": [ + { + "trigger": ["up"], + "type": "key", + "target": [ "KEY_UP" ], + "description": "Hat Up" + }, + { + "trigger": ["down"], + "type": "key", + "target": [ "KEY_DOWN" ], + "description": "Hat Down" + }, + { + "trigger": ["left"], + "type": "key", + "target": [ "KEY_LEFT" ], + "description": "Hat Left" + }, + { + "trigger": ["right"], + "type": "key", + "target": [ "KEY_RIGHT" ], + "description": "Hat Right" + }, + { + "trigger": ["a"], + "type": "key", + "target": [ "KEY_E" ], + "description": "Button A" + }, + { + "trigger": ["b"], + "type": "key", + "target": [ "KEY_R" ], + "description": "Button B" + }, + { + "trigger": ["x"], + "type": "key", + "target": [ "KEY_D" ], + "description": "Button X" + }, + { + "trigger": ["y"], + "type": "key", + "target": [ "KEY_F" ], + "description": "Button Y" + }, + { + "trigger": ["start"], + "type": "key", + "target": [ "KEY_ENTER" ], + "description": "Button Start" + }, + { + "trigger": ["select"], + "type": "key", + "target": [ "KEY_SPACE" ], + "description": "Button Select" + }, + { + "trigger": ["pageup"], + "type": "key", + "target": [ "KEY_C" ], + "description": "Button L" + }, + { + "trigger": ["pagedown"], + "type": "key", + "target": [ "KEY_V" ], + "description": "Button R" + }, + { + "trigger": ["l2"], + "type": "key", + "target": [ "KEY_F3" ], + "description": "Disposition A" + }, + { + "trigger": ["hotkey", "l2"], + "type": "key", + "target": [ "KEY_F4" ], + "description": "Disposition B" + }, + { + "trigger": ["hotkey", "a"], + "type": "key", + "target": [ "KEY_Y" ], + "description": "Microphone" + }, + { + "trigger": "joystick1", + "type": "mouse" + }, + { + "trigger": ["r2"], + "type": "key", + "target": [ "BTN_LEFT" ], + "description": "TouchScreen" + }, + { + "trigger": ["hotkey", "start"], + "type": "key", + "target": [ "KEY_F12" ], + "description": "Exit Drastic" + }, + { + "trigger": ["hotkey", "y"], + "type": "key", + "target": [ "KEY_F5" ], + "description": "Save State" + }, + { + "trigger": ["hotkey", "x"], + "type": "key", + "target": [ "KEY_F7" ], + "description": "Load State" + }, + { + "trigger": ["hotkey", "down"], + "type": "key", + "target": [ "KEY_F2" ], + "description": "Swap Screens" + }, + { + "trigger": ["hotkey", "b"], + "type": "key", + "target": [ "KEY_F1" ], + "description": "QuickMenu" + }, + { + "trigger": ["hotkey", "right"], + "type": "key", + "target": [ "KEY_TAB" ], + "description": "FastForward" + } + ] +} From 1e913740bdc41e292d35d58b9000fc9d2bc202a5 Mon Sep 17 00:00:00 2001 From: Mikhailzrick Date: Fri, 19 Jul 2024 07:44:10 -0500 Subject: [PATCH 2/3] plus-fix-dpadswitch-drastic-sansjoystick --- .../configs/emulationstation/es_input.cfg | 5076 +++++++++++++++++ .../usr/share/evmapy/nds.drastic.keys | 140 + 2 files changed, 5216 insertions(+) create mode 100644 board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg create mode 100644 board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/evmapy/nds.drastic.keys diff --git a/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg b/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg new file mode 100644 index 00000000000..a1451c76c08 --- /dev/null +++ b/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg @@ -0,0 +1,5076 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/evmapy/nds.drastic.keys b/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/evmapy/nds.drastic.keys new file mode 100644 index 00000000000..ce87f6ec9a1 --- /dev/null +++ b/board/batocera/allwinner/h700/rg35xx-plus/fsoverlay/usr/share/evmapy/nds.drastic.keys @@ -0,0 +1,140 @@ +{ + "actions_player1": [ + { + "trigger": ["up"], + "type": "key", + "target": [ "KEY_UP" ], + "description": "Hat Up" + }, + { + "trigger": ["down"], + "type": "key", + "target": [ "KEY_DOWN" ], + "description": "Hat Down" + }, + { + "trigger": ["left"], + "type": "key", + "target": [ "KEY_LEFT" ], + "description": "Hat Left" + }, + { + "trigger": ["right"], + "type": "key", + "target": [ "KEY_RIGHT" ], + "description": "Hat Right" + }, + { + "trigger": ["a"], + "type": "key", + "target": [ "KEY_E" ], + "description": "Button A" + }, + { + "trigger": ["b"], + "type": "key", + "target": [ "KEY_R" ], + "description": "Button B" + }, + { + "trigger": ["x"], + "type": "key", + "target": [ "KEY_D" ], + "description": "Button X" + }, + { + "trigger": ["y"], + "type": "key", + "target": [ "KEY_F" ], + "description": "Button Y" + }, + { + "trigger": ["start"], + "type": "key", + "target": [ "KEY_ENTER" ], + "description": "Button Start" + }, + { + "trigger": ["select"], + "type": "key", + "target": [ "KEY_SPACE" ], + "description": "Button Select" + }, + { + "trigger": ["pageup"], + "type": "key", + "target": [ "KEY_C" ], + "description": "Button L" + }, + { + "trigger": ["pagedown"], + "type": "key", + "target": [ "KEY_V" ], + "description": "Button R" + }, + { + "trigger": ["l2"], + "type": "key", + "target": [ "KEY_F3" ], + "description": "Disposition A" + }, + { + "trigger": ["hotkey", "l2"], + "type": "key", + "target": [ "KEY_F4" ], + "description": "Disposition B" + }, + { + "trigger": ["hotkey", "a"], + "type": "key", + "target": [ "KEY_Y" ], + "description": "Microphone" + }, + { + "trigger": "joystick1", + "type": "mouse" + }, + { + "trigger": ["r2"], + "type": "key", + "target": [ "BTN_LEFT" ], + "description": "TouchScreen" + }, + { + "trigger": ["hotkey", "start"], + "type": "key", + "target": [ "KEY_F12" ], + "description": "Exit Drastic" + }, + { + "trigger": ["hotkey", "y"], + "type": "key", + "target": [ "KEY_F5" ], + "description": "Save State" + }, + { + "trigger": ["hotkey", "x"], + "type": "key", + "target": [ "KEY_F7" ], + "description": "Load State" + }, + { + "trigger": ["hotkey", "down"], + "type": "key", + "target": [ "KEY_F2" ], + "description": "Swap Screens" + }, + { + "trigger": ["hotkey", "b"], + "type": "key", + "target": [ "KEY_F1" ], + "description": "QuickMenu" + }, + { + "trigger": ["hotkey", "right"], + "type": "key", + "target": [ "KEY_TAB" ], + "description": "FastForward" + } + ] +} From 0e018fe6983cf1b6f3a08368ba1aa36bb9eb722a Mon Sep 17 00:00:00 2001 From: Mikhailzrick Date: Fri, 19 Jul 2024 07:55:30 -0500 Subject: [PATCH 3/3] 28xx-fix-dpadswitch-drastic-sansjoystick --- .../configs/emulationstation/es_input.cfg | 5076 +++++++++++++++++ .../usr/share/evmapy/nds.drastic.keys | 140 + 2 files changed, 5216 insertions(+) create mode 100644 board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg create mode 100644 board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/evmapy/nds.drastic.keys diff --git a/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg b/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg new file mode 100644 index 00000000000..a1451c76c08 --- /dev/null +++ b/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/batocera/datainit/system/configs/emulationstation/es_input.cfg @@ -0,0 +1,5076 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/evmapy/nds.drastic.keys b/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/evmapy/nds.drastic.keys new file mode 100644 index 00000000000..ce87f6ec9a1 --- /dev/null +++ b/board/batocera/allwinner/h700/rg28xx/fsoverlay/usr/share/evmapy/nds.drastic.keys @@ -0,0 +1,140 @@ +{ + "actions_player1": [ + { + "trigger": ["up"], + "type": "key", + "target": [ "KEY_UP" ], + "description": "Hat Up" + }, + { + "trigger": ["down"], + "type": "key", + "target": [ "KEY_DOWN" ], + "description": "Hat Down" + }, + { + "trigger": ["left"], + "type": "key", + "target": [ "KEY_LEFT" ], + "description": "Hat Left" + }, + { + "trigger": ["right"], + "type": "key", + "target": [ "KEY_RIGHT" ], + "description": "Hat Right" + }, + { + "trigger": ["a"], + "type": "key", + "target": [ "KEY_E" ], + "description": "Button A" + }, + { + "trigger": ["b"], + "type": "key", + "target": [ "KEY_R" ], + "description": "Button B" + }, + { + "trigger": ["x"], + "type": "key", + "target": [ "KEY_D" ], + "description": "Button X" + }, + { + "trigger": ["y"], + "type": "key", + "target": [ "KEY_F" ], + "description": "Button Y" + }, + { + "trigger": ["start"], + "type": "key", + "target": [ "KEY_ENTER" ], + "description": "Button Start" + }, + { + "trigger": ["select"], + "type": "key", + "target": [ "KEY_SPACE" ], + "description": "Button Select" + }, + { + "trigger": ["pageup"], + "type": "key", + "target": [ "KEY_C" ], + "description": "Button L" + }, + { + "trigger": ["pagedown"], + "type": "key", + "target": [ "KEY_V" ], + "description": "Button R" + }, + { + "trigger": ["l2"], + "type": "key", + "target": [ "KEY_F3" ], + "description": "Disposition A" + }, + { + "trigger": ["hotkey", "l2"], + "type": "key", + "target": [ "KEY_F4" ], + "description": "Disposition B" + }, + { + "trigger": ["hotkey", "a"], + "type": "key", + "target": [ "KEY_Y" ], + "description": "Microphone" + }, + { + "trigger": "joystick1", + "type": "mouse" + }, + { + "trigger": ["r2"], + "type": "key", + "target": [ "BTN_LEFT" ], + "description": "TouchScreen" + }, + { + "trigger": ["hotkey", "start"], + "type": "key", + "target": [ "KEY_F12" ], + "description": "Exit Drastic" + }, + { + "trigger": ["hotkey", "y"], + "type": "key", + "target": [ "KEY_F5" ], + "description": "Save State" + }, + { + "trigger": ["hotkey", "x"], + "type": "key", + "target": [ "KEY_F7" ], + "description": "Load State" + }, + { + "trigger": ["hotkey", "down"], + "type": "key", + "target": [ "KEY_F2" ], + "description": "Swap Screens" + }, + { + "trigger": ["hotkey", "b"], + "type": "key", + "target": [ "KEY_F1" ], + "description": "QuickMenu" + }, + { + "trigger": ["hotkey", "right"], + "type": "key", + "target": [ "KEY_TAB" ], + "description": "FastForward" + } + ] +}