Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: CpWizard showing wrong button layout  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

Celsius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:May 10, 2015, 11:40:41 am
    • Rcade project
CpWizard showing wrong button layout
« 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?

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: CpWizard showing wrong button layout
« Reply #1 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/

Celsius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:May 10, 2015, 11:40:41 am
    • Rcade project
Re: CpWizard showing wrong button layout
« Reply #2 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
« Last Edit: July 13, 2010, 02:38:20 am by Celsius »