Add RetroPie configs backup from /opt/retropie/configs
키 설정·패드 매핑·에뮬 설정을 sync-configs.sh로 동기화. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
18
configs/daphne/dapinput-forcejoy.ini
Normal file
18
configs/daphne/dapinput-forcejoy.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
# Daphne custom joystick mapping
|
||||
#
|
||||
# Any inputs defined below will map a joystick button to
|
||||
# Daphne input, regardless of remapping that occurs in emulationstation.
|
||||
#
|
||||
# Each input is mapped to 1 joystick button (or 0 for "none")
|
||||
#
|
||||
# Find joystick button codes by running:
|
||||
# $ jstest /dev/input/js0
|
||||
# and ADDING ONE to the button code you want.
|
||||
#
|
||||
# Example: Quit will always be js button 14
|
||||
# KEY_QUIT = 15
|
||||
#
|
||||
# (Place all entries after [KEYBOARD])
|
||||
|
||||
[KEYBOARD]
|
||||
END
|
||||
17
configs/daphne/dapinput-forcekey.ini
Normal file
17
configs/daphne/dapinput-forcekey.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
# Daphne custom keyboard mapping
|
||||
#
|
||||
# Any inputs defined below will map keyboard keys to
|
||||
# Daphne input, regardless of remapping that occurs in emulationstation.
|
||||
#
|
||||
# Each input is mapped to 2 keyboard key codes (or 0 for "none")
|
||||
#
|
||||
# Find keyboard codes here:
|
||||
# http://www.daphne-emu.com/mediawiki/index.php/KeyList
|
||||
#
|
||||
# Example: Quit will always be key [Esc] or [Q]
|
||||
# KEY_QUIT = 27 113
|
||||
#
|
||||
# (Place all entries after [KEYBOARD])
|
||||
|
||||
[KEYBOARD]
|
||||
END
|
||||
37
configs/daphne/dapinput.ini
Normal file
37
configs/daphne/dapinput.ini
Normal file
@@ -0,0 +1,37 @@
|
||||
# Daphne cutom keyboard and joystick mapping
|
||||
#
|
||||
# Each input is mapped to 2 keyboard keys and one joystick button.
|
||||
# A joystick's first analog stick is also automatically mapped.
|
||||
#
|
||||
# The first two numbers are SDL keyboard codes (or 0 for "none")
|
||||
# Find keyboard codes here:
|
||||
# http://www.daphne-emu.com/mediawiki/index.php/KeyList
|
||||
#
|
||||
# The third number is the joystick button code (or 0 for "none")
|
||||
# Since 0 is reserved for special meaning, joystick button 0 is identified
|
||||
# as 1 here. Button 1 is identified as 2, and so on.
|
||||
#
|
||||
# Find the button you want to map by running:
|
||||
# jstest /dev/input/js0
|
||||
|
||||
[KEYBOARD]
|
||||
KEY_UP = 273 114 1
|
||||
KEY_DOWN = 274 102 1
|
||||
KEY_LEFT = 276 100 1
|
||||
KEY_RIGHT = 275 103 1
|
||||
KEY_BUTTON1 = 306 97 2
|
||||
KEY_BUTTON2 = 308 115 1
|
||||
KEY_BUTTON3 = 32 113 4
|
||||
KEY_START1 = 49 0 7
|
||||
KEY_START2 = 50 0 0
|
||||
KEY_COIN1 = 53 0 3
|
||||
KEY_COIN2 = 54 0 0
|
||||
KEY_SKILL1 = 304 119 0
|
||||
KEY_SKILL2 = 122 105 0
|
||||
KEY_SKILL3 = 120 107 0
|
||||
KEY_SERVICE = 57 0 0
|
||||
KEY_TEST = 283 0 0
|
||||
KEY_RESET = 284 0 0
|
||||
KEY_SCREENSHOT = 293 0 0
|
||||
KEY_QUIT = 27 113 8
|
||||
END
|
||||
3
configs/daphne/emulators.cfg
Normal file
3
configs/daphne/emulators.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
daphne = "/opt/retropie/emulators/daphne/daphne.sh %ROM%"
|
||||
default = "daphne"
|
||||
hypseus = "/opt/retropie/emulators/hypseus/hypseus.sh %ROM%"
|
||||
59
configs/daphne/hypinput.ini
Normal file
59
configs/daphne/hypinput.ini
Normal file
@@ -0,0 +1,59 @@
|
||||
# Sample hypinput.ini
|
||||
# All key options listed
|
||||
# Hypseus uses SDL2 Keycodes
|
||||
#
|
||||
# The first two entries are SDL2 keyboard codes or names (0 for "none")
|
||||
#
|
||||
# Find SDL2 keyboard code information here:
|
||||
# https://github.com/DirtBagXon/hypseus-singe/blob/master/doc/keylist.txt
|
||||
#
|
||||
# Hypseus Singe supports configuration on multiple joysticks
|
||||
# First joystick is defined as 0, second joystick as 1 etc.
|
||||
#
|
||||
# IMPORTANT: Find the joystick button and axis by running:
|
||||
# jstest /dev/input/js0 || jstest /dev/input/js1
|
||||
#
|
||||
# The third number in config is a joystick button code (or 0 for "none")
|
||||
# Since 0 is reserved for special meaning, joystick button 0 is
|
||||
# identified as 1. Button 1 is identified as 2, and so on.
|
||||
#
|
||||
# Defining 001 (or 1) identifies first joystick(0) button 0
|
||||
# Defining 111 identifies second joystick(1) button 10
|
||||
#
|
||||
# The fourth number in config (if specified) is the joystick axis
|
||||
# configuration (or 0 for "none"). Since 0 is reserved for
|
||||
# special meaning, joystick axis 0 is identified as 1.
|
||||
# Axis 1 is identified as 2, and so on.
|
||||
#
|
||||
# Only the first four switches are defined (SWITCH_UP->SWITCH_RIGHT) for axis
|
||||
#
|
||||
# Defining -001 (or -1) identifies first joystick(0) axis 0 in negative direction
|
||||
# Defining +102 identifies second joystick(1) axis 1 in positive direction
|
||||
|
||||
# KEY_BUTTON3 Turns scoreboard on/off in lair/ace
|
||||
|
||||
# Key1 Key2 Button (Axis)
|
||||
[KEYBOARD]
|
||||
KEY_UP = SDLK_UP SDLK_r 5 -002
|
||||
KEY_DOWN = SDLK_DOWN SDLK_f 7 +002
|
||||
KEY_LEFT = SDLK_LEFT SDLK_d 8 -001
|
||||
KEY_RIGHT = SDLK_RIGHT SDLK_g 6 +001
|
||||
KEY_COIN1 = SDLK_5 0 1
|
||||
KEY_COIN2 = SDLK_6 0 0
|
||||
KEY_START1 = SDLK_1 0 4
|
||||
KEY_START2 = SDLK_2 0 0
|
||||
KEY_BUTTON1 = SDLK_LCTRL SDLK_a 14
|
||||
KEY_BUTTON2 = SDLK_LALT SDLK_s 15
|
||||
KEY_BUTTON3 = SDLK_SPACE SDLK_d 16
|
||||
KEY_SKILL1 = SDLK_LSHIFT SDLK_w 0
|
||||
KEY_SKILL2 = SDLK_z SDLK_i 0
|
||||
KEY_SKILL3 = SDLK_x SDLK_k 0
|
||||
KEY_SERVICE = SDLK_9 0 0
|
||||
KEY_TEST = SDLK_F2 0 0
|
||||
KEY_RESET = SDLK_0 0 0
|
||||
KEY_SCREENSHOT = SDLK_F12 0 0
|
||||
KEY_QUIT = SDLK_ESCAPE SDLK_q 17
|
||||
KEY_PAUSE = SDLK_p 0 0
|
||||
KEY_CONSOLE = SDLK_BACKSLASH 0 0
|
||||
KEY_TILT = SDLK_t 0 0
|
||||
END
|
||||
63
configs/daphne/hypinput_gamepad.ini
Normal file
63
configs/daphne/hypinput_gamepad.ini
Normal file
@@ -0,0 +1,63 @@
|
||||
# Sample hypinput.ini using SDL_GameController
|
||||
# All key options listed for use with -gamepad
|
||||
#
|
||||
# Hypseus uses SDL2 Keycodes and SDL_GameController
|
||||
# SWITCH = Key1 Key2 Pad0 (Axis Pad0) Pad1 (Axis Pad1)
|
||||
|
||||
# Available AXIS MACROS
|
||||
#
|
||||
# AXIS_LEFT_UP
|
||||
# AXIS_LEFT_DOWN
|
||||
# AXIS_LEFT_LEFT
|
||||
# AXIS_LEFT_RIGHT
|
||||
# AXIS_RIGHT_UP
|
||||
# AXIS_RIGHT_DOWN
|
||||
# AXIS_RIGHT_LEFT
|
||||
# AXIS_RIGHT_RIGHT
|
||||
#
|
||||
# Available BUTTON MACROS
|
||||
#
|
||||
# BUTTON_A
|
||||
# BUTTON_B
|
||||
# BUTTON_X
|
||||
# BUTTON_Y
|
||||
# BUTTON_BACK
|
||||
# BUTTON_GUIDE
|
||||
# BUTTON_START
|
||||
# BUTTON_LEFTSTICK
|
||||
# BUTTON_RIGHTSTICK
|
||||
# BUTTON_LEFTSHOULDER
|
||||
# BUTTON_RIGHTSHOULDER
|
||||
# BUTTON_DPAD_UP
|
||||
# BUTTON_DPAD_DOWN
|
||||
# BUTTON_DPAD_LEFT
|
||||
# BUTTON_DPAD_RIGHT
|
||||
# AXIS_TRIGGER_LEFT
|
||||
# AXIS_TRIGGER_RIGHT
|
||||
|
||||
|
||||
# Key1 Key2 Pad0 Button (Axis Pad0) Pad1 Button (Axis Pad1)
|
||||
[KEYBOARD]
|
||||
KEY_UP = SDLK_UP 0 BUTTON_DPAD_UP AXIS_LEFT_UP 0 0
|
||||
KEY_DOWN = SDLK_DOWN 0 BUTTON_DPAD_DOWN AXIS_LEFT_DOWN 0 0
|
||||
KEY_LEFT = SDLK_LEFT 0 BUTTON_DPAD_LEFT AXIS_LEFT_LEFT 0 0
|
||||
KEY_RIGHT = SDLK_RIGHT 0 BUTTON_DPAD_RIGHT AXIS_LEFT_RIGHT 0 0
|
||||
KEY_COIN1 = SDLK_5 0 BUTTON_BACK 0 0
|
||||
KEY_COIN2 = SDLK_6 0 0 0 BUTTON_BACK
|
||||
KEY_START1 = SDLK_1 0 BUTTON_START 0 0
|
||||
KEY_START2 = SDLK_2 0 0 0 BUTTON_START
|
||||
KEY_BUTTON1 = SDLK_LCTRL 0 BUTTON_A 0 0
|
||||
KEY_BUTTON2 = SDLK_LALT 0 BUTTON_B 0 0
|
||||
KEY_BUTTON3 = SDLK_SPACE 0 AXIS_TRIGGER_RIGHT 0 0
|
||||
KEY_SKILL1 = SDLK_LSHIFT 0 0 0 0
|
||||
KEY_SKILL2 = SDLK_z 0 0 0 0
|
||||
KEY_SKILL3 = SDLK_x 0 0 0 0
|
||||
KEY_SERVICE = SDLK_9 0 0 0 0
|
||||
KEY_TEST = SDLK_F2 SDLK_F4 0 0 0
|
||||
KEY_RESET = SDLK_0 0 0 0 0
|
||||
KEY_SCREENSHOT = SDLK_F12 0 0 0 0
|
||||
KEY_QUIT = SDLK_ESCAPE 0 0 0 0
|
||||
KEY_PAUSE = SDLK_p 0 0 0 0
|
||||
KEY_CONSOLE = SDLK_BACKSLASH 0 0 0 0
|
||||
KEY_TILT = SDLK_t 0 0 0 0
|
||||
END
|
||||
Reference in New Issue
Block a user