MAMEWorld >> EmuChat
Index   Flat Mode Flat  

Cyberonix
MAME Fan
Reged: 04/18/06
Posts: 121
Send PM
Re: Mame Controls Reversed
07/19/16 04:26 PM


The light just went on...

A long time ago I created a custom controller configuration for my cabinet which resides in the ctrlr directory. I'm guessing this is the file I'll need to change instead of making changes inside the default.cfg. As a small example below I included a snipped of the configuration. I'm guessing I just need to swap the JOYCODE_1_YAXIS_UP_SWITCH to JOYCODE_2_YAXIS_UP_SWITCH etc.

I had to remove the opening bracket from the code snippet so it would display properly.

!-- PLAYER 1 SETUP -->
port type="P1_JOYSTICK_UP">
newseq type="standard">KEYCODE_UP OR JOYCODE_1_YAXIS_UP_SWITCH /newseq>
/port>
port type="P1_JOYSTICK_DOWN">
newseq type="standard">KEYCODE_DOWN OR JOYCODE_1_YAXIS_DOWN_SWITCH /newseq>
/port>

I don't have a section for my trackballs so I'll have to research that though.

Edited by Cyberonix (07/19/16 04:56 PM)







Entire thread
Subject Posted by Posted on
* Mame Controls Reversed Cyberonix 07/17/16 11:24 PM
. * Re: Mame Controls Reversed Traso  07/18/16 10:34 PM
. * Re: Mame Controls Reversed Cyberonix  07/18/16 11:20 PM
. * Re: Mame Controls Reversed jeremymtc  07/19/16 04:25 AM
. * Re: Mame Controls Reversed Cyberonix  07/19/16 04:26 PM
. * Re: Mame Controls Reversed Traso  07/19/16 09:44 AM
. * Re: Mame Controls Reversed Cyberonix  07/19/16 04:27 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 348 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1851