MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

H@P
Lurker in perpetuity
Reged: 09/22/03
Posts: 234
Loc: Seattle area
Send PM
Re: config joystick in mess for intv
09/21/12 06:10 AM


I just tried it with the latest UME and my PlayStation 2 dualshock controller. Mapped the left stick to the *right* INTV disc, and mapped the right stick to the *left* INTV keypad. Sounds odd, but I just wanted to see it working.

Worked perfectly.

I couldn't map the dualshock in-game, but I saw how it maps NOTs now with the keyboard. So I tweaked the file manually and came up with this intv.cfg:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="intv">
<input>
<port tag=":KEYPAD2" type="KEYPAD" mask="128" defvalue="0">
<newseq type="standard">
KEYCODE_9PAD OR JOYCODE_1_ZAXIS_POS_SWITCH JOYCODE_1_RXAXIS_POS_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="256" defvalue="0">
<newseq type="standard">
KEYCODE_8PAD OR JOYCODE_1_ZAXIS_POS_SWITCH NOT JOYCODE_1_RXAXIS_NEG_SWITCH NOT JOYCODE_1_RXAXIS_POS_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="512" defvalue="0">
<newseq type="standard">
KEYCODE_7PAD OR JOYCODE_1_ZAXIS_POS_SWITCH JOYCODE_1_RXAXIS_NEG_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="1024" defvalue="0">
<newseq type="standard">
KEYCODE_6PAD OR JOYCODE_1_RXAXIS_POS_SWITCH NOT JOYCODE_1_ZAXIS_NEG_SWITCH NOT JOYCODE_1_ZAXIS_POS_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="4096" defvalue="0">
<newseq type="standard">
KEYCODE_4PAD OR JOYCODE_1_RXAXIS_NEG_SWITCH NOT JOYCODE_1_ZAXIS_NEG_SWITCH NOT JOYCODE_1_ZAXIS_POS_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="8192" defvalue="0">
<newseq type="standard">
KEYCODE_3PAD OR JOYCODE_1_RXAXIS_POS_SWITCH JOYCODE_1_ZAXIS_NEG_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="16384" defvalue="0">
<newseq type="standard">
KEYCODE_2PAD OR JOYCODE_1_ZAXIS_NEG_SWITCH NOT JOYCODE_1_RXAXIS_NEG_SWITCH NOT JOYCODE_1_RXAXIS_POS_SWITCH
</newseq>
</port>
<port tag=":KEYPAD2" type="KEYPAD" mask="32768" defvalue="0">
<newseq type="standard">
KEYCODE_1PAD OR JOYCODE_1_ZAXIS_NEG_SWITCH JOYCODE_1_RXAXIS_NEG_SWITCH
</newseq>
</port>
<port tag=":OPTIONS" type="CONFIG" mask="1" defvalue="0" value="1" />
<port tag=":OPTIONS" type="CONFIG" mask="2" defvalue="0" value="2" />
</input>
</system>
</mameconfig>

Now I have to figure out a way to make it more permanent. If UME crashes for whatever reason, it takes the .cfg file with it.

What happened to ctrlr files?!?

H@P







Entire thread
Subject Posted by Posted on
* config joystick in mess for intv joey35car 09/16/12 07:36 PM
. * Re: config joystick in mess for intv H@P  09/19/12 09:07 PM
. * Re: config joystick in mess for intv joey35car  09/20/12 11:34 PM
. * Re: config joystick in mess for intv H@P  09/21/12 06:10 AM

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