Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Mapping gamepad in MAME

  • 20-01-2006 8:18pm
    #1
    Registered Users, Registered Users 2 Posts: 861 ✭✭✭


    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: 861 ✭✭✭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,975 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