Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Mapping gamepad in MAME

  • 20-01-2006 09:18PM
    #1
    Registered Users, Registered Users 2 Posts: 862 ✭✭✭


    Hi,
    I have found the ctrlr config fil and can get all the buttons to map properly by editing this and mapping my joypad to the correspond keystrokes, but...

    I cant get the NW, NE, SW, SE, to work. I have mapped those functionson my joypad to keystrokes, and again in the config file but, (in Streetfighter 2) I can only move left,right, jump straight up & crouch. I cant jump forward or backwards.

    The description of these controls in the config file is also a little ambigous so i think im missing something.

    Here is an exerpt from the config file.

    <port type="P1_JOYSTICK_UP">
    <newseq type="standard">KEYCODE_c</newseq>
    </port>
    <port type="P1_JOYSTICK_DOWN">
    <newseq type="standard">KEYCODE_d</newseq>
    </port>
    <port type="P1_JOYSTICK_LEFT">
    <newseq type="standard">KEYCODE_e</newseq>
    </port>
    <port type="P1_JOYSTICK_RIGHT">
    <newseq type="standard">KEYCODE_f</newseq>
    </port>
    <port type="P1_JOYSTICKRIGHT_UP">
    <newseq type="standard">KEYCODE_g</newseq>
    </port>
    <port type="P1_JOYSTICKRIGHT_DOWN">
    <newseq type="standard">KEYCODE_h</newseq>
    </port>
    <port type="P1_JOYSTICKRIGHT_LEFT">
    <newseq type="standard">KEYCODE_i</newseq>
    </port>
    <port type="P1_JOYSTICKRIGHT_RIGHT">
    <newseq type="standard">KEYCODE_j</newseq>
    </port>
    <port type="P1_JOYSTICKLEFT_UP">
    <newseq type="standard">KEYCODE_k</newseq>
    </port>
    <port type="P1_JOYSTICKLEFT_DOWN">
    <newseq type="standard">KEYCODE_l</newseq>
    </port>
    <port type="P1_JOYSTICKLEFT_LEFT">
    <newseq type="standard">KEYCODE_m</newseq>
    </port>
    <port type="P1_JOYSTICKLEFT_RIGHT">
    <newseq type="standard">KEYCODE_n</newseq>


    Obviously
    "P1_JOYSTICK_DOWN" is player one down,
    but is this line Player 1 up left?
    "P1_JOYSTICKLEFT_UP"

    and what are these lines?
    "P1_JOYSTICKLEFT_LEFT" &
    "P1_JOYSTICKRIGHT_LEFT" etc.

    I'm guessing they are for a machine that had 2 joysticks for each player?

    But how do i combine left and up to jump forward?

    Any help appreciated.

    Wavey


Comments

  • Closed Accounts Posts: 20,346 ✭✭✭✭KdjaCL


    Which mame are you using? Mame 32 allows complete mapping by teaching the game to do it pressing Tab when the game loads and changing General settings.


    kdjac


  • Registered Users, Registered Users 2 Posts: 862 ✭✭✭Wavey


    Hey KD,

    Im using Mameplus0.103

    I managed to get it to work by assigning a command as opposed to a key stroke but it dosent work very well.
    To jump forward i assigned a command: right then left.

    The probem with this is that u have to hit right first and then up or it wont work. Which makes it a bit fidgety in-game.

    Are u using mame32? how do u find the controls for a 2d beat em up like sf2?
    Are u using a pad?

    Wavey


  • Moderators, Computer Games Moderators Posts: 2,976 Mod ✭✭✭✭LoGiE


    If it's only street fighter your planning to play then Final Burn Alpha is far better imo! I've used a USB joypad and my x-arcade with it no problem.


Advertisement