Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame , buttons do not match .cfg file when i go into tab... help  (Read 1526 times)

0 Members and 1 Guest are viewing this topic.

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
I am trying to reprogram my .cfg to match my new layout, but when I go into games they are not reflecting the button layout in my controller file

When I press tab and go into the general controls some don't match my controller .cfg I'm not sure how to get it to match (I have a different button layout for neogeo).  =(

I'm using mameui64 .136u3

« Last Edit: April 29, 2010, 04:52:20 am by shateredsoul »

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: what the *** happened to my mame controls?
« Reply #1 on: April 29, 2010, 03:47:51 am »
When I check tab player 2 controls, coin, start, button 1-6, are perfect.  When check player 1 controls they don't match my ctrl .cfg at all.  In fact all the buttons are joystick buttons... It seems like player one is the issue, some match and some don't. Keys 1-6 are all joypad buttons when I have them set as keyboard keys but i changed them through the tap option, but when I launch neo geo games they don't match my layout (except player 2... =/)

????? :dunno


Code: [Select]
<port type="P1_JOYSTICK_UP">
                <newseq type="standard">KEYCODE_UP</newseq>
             </port>
             <port type="P1_JOYSTICK_DOWN">
                <newseq type="standard">KEYCODE_DOWN</newseq>
             </port>
             <port type="P1_JOYSTICK_LEFT">
                <newseq type="standard">KEYCODE_LEFT</newseq>
             </port>
             <port type="P1_JOYSTICK_RIGHT">
                <newseq type="standard">KEYCODE_RIGHT</newseq>
             </port>
             <port type="P2_JOYSTICK_UP">
                <newseq type="standard">KEYCODE_J</newseq>
             </port>
             <port type="P2_JOYSTICK_DOWN">
                <newseq type="standard">KEYCODE_K</newseq>
             </port>
             <port type="P2_JOYSTICK_LEFT">
                <newseq type="standard">KEYCODE_L</newseq>
             </port>
             <port type="P2_JOYSTICK_RIGHT">
                <newseq type="standard">KEYCODE_M</newseq>
                              </port>
             <port type="P3_JOYSTICK_UP">
                <newseq type="standard">JOYCODE_1_YAXIS_UP_SWITCH OR JOYCODE_1_HATSWITCHU</newseq>
             </port>
             <port type="P3_JOYSTICK_DOWN">
                <newseq type="standard">JOYCODE_1_YAXIS_DOWN_SWITCH OR JOYCODE_1_HATSWITCHD</newseq>
             </port>
             <port type="P3_JOYSTICK_LEFT">
                <newseq type="standard">JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_HATSWITCHL</newseq>
             </port>
             <port type="P3_JOYSTICK_RIGHT">
                <newseq type="standard">JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_HATSWITCHR</newseq>        
             </port>        
             <port type="P4_JOYSTICK_UP">
                <newseq type="standard">JOYCODE_2_YAXIS_UP_SWITCH OR JOYCODE_2_HATSWITCHU</newseq>
             </port>
             <port type="P4_JOYSTICK_DOWN">
                <newseq type="standard">JOYCODE_2_YAXIS_DOWN_SWITCH OR JOYCODE_2_HATSWITCHD</newseq>
             </port>
             <port type="P4_JOYSTICK_LEFT">
                <newseq type="standard">JOYCODE_2_XAXIS_LEFT_SWITCH OR JOYCODE_2_HATSWITCHL</newseq>
             </port>
             <port type="P4_JOYSTICK_RIGHT">
                <newseq type="standard">JOYCODE_2_XAXIS_RIGHT_SWITCH OR JOYCODE_2_HATSWITCHR</newseq>
             </port>

             <port type="P1_BUTTON1">
                <newseq type="standard">KEYCODE_F OR MOUSECODE_1_BUTTON0</newseq>
             </port>
             <port type="P1_BUTTON2">
                <newseq type="standard">KEYCODE_N OR MOUSECODE_1_BUTTON1</newseq>
             </port>
             <port type="P1_BUTTON3">
                <newseq type="standard">KEYCODE_T</newseq>
             </port>
             <port type="P1_BUTTON4">
                <newseq type="standard">KEYCODE_U</newseq>
             </port>
             <port type="P1_BUTTON5">
                <newseq type="standard">KEYCODE_Y</newseq>
             </port>
             <port type="P1_BUTTON6">
                <newseq type="standard">KEYCODE_X</newseq>
             </port>
             <port type="P2_BUTTON1">
                <newseq type="standard">KEYCODE_A</newseq>
             </port>
             <port type="P2_BUTTON2">
                <newseq type="standard">KEYCODE_S</newseq>
             </port>
             <port type="P2_BUTTON3">
                <newseq type="standard">KEYCODE_D</newseq>
             </port>
             <port type="P2_BUTTON4">
                <newseq type="standard">KEYCODE_W</newseq>
             </port>
             <port type="P2_BUTTON5">
                <newseq type="standard">KEYCODE_E</newseq>
             </port>
             <port type="P2_BUTTON6">
« Last Edit: April 29, 2010, 04:53:35 am by shateredsoul »

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: Mame , buttons do not match .cfg file when i go into tab... help
« Reply #2 on: April 29, 2010, 05:00:56 am »
I think I figured it out... I deleted all the .cfg files :-[

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: Mame , buttons do not match .cfg file when i go into tab... help
« Reply #3 on: April 29, 2010, 06:21:32 pm »
.cfg files will override a .ctrl file.  You must delete the cfg file or at least remove the control entries from each of them.