Skip to content

Commit

Permalink
fixed mame config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazorne committed May 9, 2024
1 parent 9019b23 commit 2db9216
Showing 1 changed file with 39 additions and 139 deletions.
178 changes: 39 additions & 139 deletions emu-configs/mame/default.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
<?xml version="1.0"?>
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default">
<input>
<port type="P1_JOYSTICK_UP">
<newseq type="standard">
JOYCODE_1_HAT1UP
</newseq>
</port>
<port type="P1_START">
<newseq type="standard">
JOYCODE_1_BUTTON8
JOYCODE_1_BUTTON8 OR KEYCODE_1
</newseq>
</port>
<port type="P1_SELECT">
Expand All @@ -20,52 +15,72 @@
</port>
<port type="P2_START">
<newseq type="standard">
JOYCODE_2_BUTTON12
JOYCODE_2_BUTTON8 OR KEYCODE_2
</newseq>
</port>
<port type="P2_SELECT">
<newseq type="standard">
JOYCODE_2_BUTTON11
KEYCODE_6 OR JOYCODE_2_BUTTON7
</newseq>
</port>
<port type="P3_START">
<newseq type="standard">
JOYCODE_3_BUTTON8 OR KEYCODE_3
</newseq>
</port>
<port type="P3_SELECT">
<newseq type="standard">
KEYCODE_7 OR JOYCODE_3_BUTTON7
</newseq>
</port>
<port type="P4_START">
<newseq type="standard">
JOYCODE_4_BUTTON8 OR KEYCODE_4
</newseq>
</port>
<port type="P4_SELECT">
<newseq type="standard">
KEYCODE_8 OR JOYCODE_4_BUTTON7
</newseq>
</port>
<port type="START1">
<newseq type="standard">
KEYCODE_1 OR JOYCODE_1_BUTTON12
JOYCODE_1_BUTTON8 OR KEYCODE_S KEYCODE_1
</newseq>
</port>
<port type="START2">
<newseq type="standard">
KEYCODE_2 OR JOYCODE_2_BUTTON12
JOYCODE_2_BUTTON8 OR KEYCODE_S KEYCODE_2
</newseq>
</port>
<port type="START3">
<newseq type="standard">
KEYCODE_3 OR JOYCODE_3_BUTTON12
JOYCODE_3_BUTTON8 OR KEYCODE_S KEYCODE_3
</newseq>
</port>
<port type="START4">
<newseq type="standard">
KEYCODE_4 OR JOYCODE_4_BUTTON12
JOYCODE_4_BUTTON8 OR KEYCODE_S KEYCODE_4
</newseq>
</port>
<port type="COIN1">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_1 OR JOYCODE_1_BUTTON11
JOYCODE_1_BUTTON7 OR KEYCODE_LSHIFT KEYCODE_1
</newseq>
</port>
<port type="COIN2">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_2 OR JOYCODE_2_BUTTON11
JOYCODE_2_BUTTON7 OR KEYCODE_LSHIFT KEYCODE_2
</newseq>
</port>
<port type="COIN3">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_3 OR JOYCODE_3_BUTTON11
JOYCODE_3_BUTTON7 OR KEYCODE_LSHIFT KEYCODE_3
</newseq>
</port>
<port type="COIN4">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_4 OR JOYCODE_4_BUTTON11
JOYCODE_4_BUTTON7 OR KEYCODE_LSHIFT KEYCODE_4
</newseq>
</port>
<port type="BILL1">
Expand Down Expand Up @@ -113,31 +128,6 @@
KEYCODE_LALT KEYCODE_T KEYCODE_4
</newseq>
</port>
<port type="SERVICE">
<newseq type="standard">
KEYCODE_LALT KEYCODE_S KEYCODE_0
</newseq>
</port>
<port type="TILT">
<newseq type="standard">
KEYCODE_LALT KEYCODE_T KEYCODE_0
</newseq>
</port>
<port type="MEMORY_RESET">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="VOLUME_DOWN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="VOLUME_UP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_MENU">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_M
Expand All @@ -148,19 +138,14 @@
KEYCODE_LCONTROL KEYCODE_Q
</newseq>
</port>
<port type="UI_CLEAR">
<newseq type="standard">
KEYCODE_DEL
</newseq>
</port>
<port type="UI_PAGE_UP">
<newseq type="standard">
KEYCODE_PGUP OR JOYCODE_1_ZAXIS_POS_SWITCH
JOYCODE_1_RYAXIS_NEG_SWITCH OR KEYCODE_PGUP
</newseq>
</port>
<port type="UI_PAGE_DOWN">
<newseq type="standard">
KEYCODE_PGDN OR JOYCODE_1_RZAXIS_POS_SWITCH
JOYCODE_1_RYAXIS_POS_SWITCH OR KEYCODE_PGDN
</newseq>
</port>
<port type="UI_PREV_GROUP">
Expand Down Expand Up @@ -188,19 +173,14 @@
NONE
</newseq>
</port>
<port type="UI_PAUSE">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_P
</newseq>
</port>
<port type="UI_PAUSE_SINGLE">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_REWIND_SINGLE">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_MINUS
KEYCODE_LCONTROL KEYCODE_MINUSPAD
</newseq>
</port>
<port type="UI_SAVE_STATE">
Expand Down Expand Up @@ -255,7 +235,7 @@
</port>
<port type="UI_FAST_FORWARD">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_PLUS
KEYCODE_LCONTROL KEYCODE_PLUSPAD
</newseq>
</port>
<port type="UI_SHOW_FPS">
Expand All @@ -275,104 +255,29 @@
</port>
<port type="UI_RECORD_AVI">
<newseq type="standard">
NONE
KEYCODE_LCONTROL KEYCODE_V
</newseq>
</port>
<port type="UI_TOGGLE_CHEAT">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_C
</newseq>
</port>
<port type="UI_DISPLAY_COMMENT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_ZOOM_IN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_ZOOM_OUT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_ZOOM_DEFAULT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_ROTATE">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_SHOW_PROFILER">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_RELEASE_POINTER">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_PASTE">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_TAPE_START">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_TAPE_STOP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_FOCUS_NEXT">
<newseq type="standard">
KEYCODE_TAB OR JOYCODE_1_RZAXIS_POS_SWITCH
JOYCODE_1_RXAXIS_POS_SWITCH
</newseq>
</port>
<port type="UI_FOCUS_PREV">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_TAB OR JOYCODE_1_ZAXIS_POS_SWITCH
</newseq>
</port>
<port type="UI_DATS">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_FAVORITES">
<newseq type="standard">
JOYCODE_1_BUTTON4
</newseq>
</port>
<port type="UI_EXPORT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="UI_AUDIT">
<newseq type="standard">
NONE
JOYCODE_1_RXAXIS_NEG_SWITCH OR KEYCODE_TAB
</newseq>
</port>
<port type="TOGGLE_FULLSCREEN">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_ENTER
</newseq>
</port>
<port type="TOGGLE_FILTER">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="DECREASE_PRESCALE">
<newseq type="standard">
KEYCODE_LCONTROL KEYCODE_Y
Expand All @@ -383,11 +288,6 @@
KEYCODE_LCONTROL KEYCODE_U
</newseq>
</port>
<port type="RENDER_AVI">
<newseq type="standard">
NONE
</newseq>
</port>
</input>
</system>
</mameconfig>

0 comments on commit 2db9216

Please sign in to comment.