Add RetroPie configs backup from /opt/retropie/configs

키 설정·패드 매핑·에뮬 설정을 sync-configs.sh로 동기화.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hoon
2026-09-01 01:41:18 +09:00
parent d1e986fac9
commit 27544f3057
189 changed files with 29732 additions and 34 deletions

View File

@@ -0,0 +1,23 @@
proc auto_config_joypad { } {
# clear existing joypad configuration
global joystick1_config
dict for {btn binding} $joystick1_config { dict set joystick1_config $btn {} }
bind_default "joy1 button2 down" "keymatrixdown 6 0x20"
bind_default "joy1 button2 up" "keymatrixup 6 0x20"
bind_default "joy1 button3 down" "keymatrixdown 6 0x40"
bind_default "joy1 button3 up" "keymatrixup 6 0x40"
bind_default "joy1 button6 down" "main_menu_open"
bind_default "joy1 button7 down" "toggle_osd_keyboard"
bind "joy1 button6 down" -layer osd_menu "main_menu_close"
dict lappend joystick1_config A button1
dict lappend joystick1_config B button0
dict lappend joystick1_config DOWN +axis1
dict lappend joystick1_config DOWN D_hat0
dict lappend joystick1_config LEFT -axis0
dict lappend joystick1_config LEFT L_hat0
dict lappend joystick1_config RIGHT +axis0
dict lappend joystick1_config RIGHT R_hat0
dict lappend joystick1_config UP -axis1
dict lappend joystick1_config UP U_hat0
}

View File

@@ -0,0 +1,17 @@
proc auto_config_joypad { } {
# clear existing joypad configuration
global joystick1_config
dict for {btn binding} $joystick1_config { dict set joystick1_config $btn {} }
bind_default "joy1 button2 down" "toggle_osd_keyboard"
bind_default "joy1 button3 down" "keymatrixdown 6 0x40"
bind_default "joy1 button3 up" "keymatrixup 6 0x40"
bind_default "joy1 button4 down" "main_menu_open"
bind "joy1 button4 down" -layer osd_menu "main_menu_close"
dict lappend joystick1_config A button1
dict lappend joystick1_config B button0
dict lappend joystick1_config DOWN -axis1
dict lappend joystick1_config LEFT -axis0
dict lappend joystick1_config RIGHT +axis0
dict lappend joystick1_config UP +axis1
}

View File

@@ -0,0 +1,16 @@
This folder contains joypad configuration scripts, generated by EmulationStation's input configuration.
They are read by openMSX at start-up and loaded automatically when the corresponding joypad is plugged in.
If you wish to have a game specific joystick configuration, you can override the gamepad's configuration by:
* copy an already existing controller '.tcl' configuration file to the 'game' subfolder.
* edit the file and adjust the 'bind_default' commands or the 'joystick1_config' configuration.
See the openMSX documentation for how to use those commands:
- http://openmsx.org/manual/commands.html#bind
- https://openmsx.org/manual/commands.html#joystickN_config
- http://map.grauw.nl/articles/keymatrix.php
* rename the new '.tcl' file so the name is similar to the disk/tape/rom name (i.e. 'Metal Gear.zip' will load 'Metal Gear.tcl').
If you are not sure which name to use, start the game, then press 'F10' and type 'guess_title', followed by Enter.
openMSX will print the content name, which you can then use as a filename for the override configuration file.
NOTE: special characters '(:?/\*)', are automatically striped from the name so if your content file is 'ABC?.dsk',
then the configuration file should be 'ABC.tcl'.