The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Celsius on July 12, 2010, 10:47:03 am

Title: CpWizard showing wrong button layout
Post by: Celsius on July 12, 2010, 10:47:03 am
I don't know what I'm doing wrong, but for some reason I can't get cpw to show the buttonlayout the game actually uses (look at attachment). For example, Mortal kombat 1 is configured (and working) like this for p1 aswell as for p2 (6 buttons):
High Punch     High Kick     Block
Low Punch     Low Kick      Block
...and ofc left,right,jump,duck with the stick.

Already deleted mame's default cfg file and all other cfg's, and double checked on the keybinds and buttonlinks in cpw

Any1 with an idea?
Title: Re: CpWizard showing wrong button layout
Post by: shateredsoul on July 12, 2010, 10:54:18 am
I wrote this when I was having the same issues.. See if this helps and see if you followed all the steps.

http://maximizedemulation.wordpress.com/2010/07/01/how-to-use-cpwizard-for-dummies/ (http://maximizedemulation.wordpress.com/2010/07/01/how-to-use-cpwizard-for-dummies/)
Title: Re: CpWizard showing wrong button layout
Post by: Celsius on July 13, 2010, 02:36:19 am
Yes i have read the headsoft and dummy guide, but I found the problem...it seems to be a keyboard layout problem. I've got an AZERTY keyboard which isn't a problem ingame and in the inputs option in mame, mame recognizes it as an AZERTY but if I look in the cfg and ctrlr files, it saves it in QWERTY layout. So my A-button became a KEYCODE_Q and so on.
So i solved the problem by just adding an US keyboard layout, switch the keycodes of cpw to the us layout and now it works perfect. So it is more of a mame problem  ;)
Another option would be to only take those buttons that are the same in all keyboard layouts
Thx for the help