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: X-Arcade Controls with WinCab  (Read 4011 times)

0 Members and 1 Guest are viewing this topic.

KentuckySinner

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 18, 2008, 12:48:28 pm
X-Arcade Controls with WinCab
« on: February 11, 2006, 12:11:56 pm »
Hey Folks,

I'm working on getting the PC up and running while I wait on the cabinet, and I recently setup the X-Arcade 2 Player controller to the computer.  I have it working beautifully with Mame32, but I'm having trouble getting the X-Arcade Controller to work with Wincab.   Does anybody have a sample controls.ini file that they've used with the X-Arcade controller that they could cut/paste or email to me?  The only response that I can get is from the mouse and the keyboard.

I have the keyboard plugged into the X-Arcade controller and the X-Arcade into the PS/2 Port.  That may change as I hope to eventually get a wireless keyboard (rather than constructing a keyboard drawer).  Not sure if the receiver will plugin to a USB or the X-Arcade's Keyboard port.

I'm using a 1ghz Duron, 512mb ram, 64mb nvidia graphics card, and WINXP if that makes any difference.

Myself and the 'Slave I MAME Project' appreciate any info.

KentuckySinner

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 18, 2008, 12:48:28 pm
Re: X-Arcade Controls with WinCab
« Reply #1 on: February 11, 2006, 01:55:52 pm »
D'oh.  I had this link to the X-Arcade button layout as well.

http://www.x-arcade.com/service/images/Layouts/Printable/PC-MAC.htm



Again, any help is appreciated. 

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: X-Arcade Controls with WinCab
« Reply #2 on: February 11, 2006, 02:25:08 pm »
What would you like the buttons to map to?  Are you planning to use a "classic" skin or a CD-style skin?

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

KentuckySinner

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 18, 2008, 12:48:28 pm
Re: X-Arcade Controls with WinCab
« Reply #3 on: February 11, 2006, 02:35:15 pm »
I'm using a CD Style Skin displaying 4 albums.  I'd like buttons '1' and '2' on the Controller to serve as coins/credits.  The controller stick (p1 only is fine) to move through the song selections.  The "Left Ctrl" Button to select the songs.    Buttons labelled 'C' and '5' I would like to scroll left/right through the albums.   I dont have the machine in front of me, but I think that's the primary functionality that I need.    Beyond that, I have no preference for other options/controls.  I spent a little bit yesterday messing with the default controls.ini but couldn't get a response out of the X-Arcade.  Keyboard/Mouse worked fine though. I may have had some buttons cross-mapped though.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: X-Arcade Controls with WinCab
« Reply #4 on: February 11, 2006, 02:49:50 pm »
Try this:

KEY_2_PAD = BTN_GUI_DOWN
KEY_4_PAD = BTN_GUI_LEFT
KEY_6_PAD = BTN_GUI_RIGHT
KEY_8_PAD = BTN_GUI_UP
KEY_LCTRL = BTN_GUI_SELECT
KEY_F = BTN_GUI_DOWN
KEY_D = BTN_GUI_LEFT
KEY_G = BTN_GUI_RIGHT
KEY_R = BTN_GUI_UP
KEY_A = BTN_GUI_SELECT
KEY_C = BTN_PREVPAGE
KEY_5 = BTN_NEXTPAGE
KEY_1 = BTN_COIN1
KEY_2 = BTN_COIN2

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: X-Arcade Controls with WinCab
« Reply #5 on: February 11, 2006, 02:52:33 pm »
Oh, and you'll probably want to be able to exit....

How about:

KEY_4 = BTN_SHUTDOWN

This will exit with the right flipper button.  (KEY_Q might be a good alternative too.)

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

KentuckySinner

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 18, 2008, 12:48:28 pm
Re: X-Arcade Controls with WinCab
« Reply #6 on: February 12, 2006, 02:55:02 pm »
Chris,

Thanks a ton for your help.  I made the changes to the controls.ini file and I'm getting a response.  The only problem that I had is that the following commands didn't change the pages.

KEY_C = BTN_PREVPAGE
KEY_5 = BTN_NEXTPAGE

Any ideas? 


KentuckySinner

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 18, 2008, 12:48:28 pm
Re: X-Arcade Controls with WinCab
« Reply #7 on: February 12, 2006, 03:04:22 pm »
Nevermind.  I cross-referenced it was the default controls.ini...

KEY_C = BTN_PREVPAGE
KEY_5 = BTN_NEXTPAGE

just needed to be truncated to

KEY_C = BTN_PREVPG
KEY_5 = BTN_NEXTPG

I'm going to lose the flipper keys when the controls gets put into the cabinet, so Q worked.   

Thanks again!

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: X-Arcade Controls with WinCab
« Reply #8 on: February 13, 2006, 09:18:14 am »
Sorry about the typo!  I should add BTN_PREVPAGE and BTN_NEXTPAGE as aliases so either way is recognized...

Just for fun, you may also want to try setting up Player 2's buttons as a six-key keypad (of course, you'll have to move the shutdown button, probably to KEY_SPACE, and change KEY_A to not select a song) so you can have direct access to songs rather than navigating with the joystick.  The best of both worlds, as it were....

To do this, try:

KEY_A = BTN_1
KEY_S = BTN_2
KEY_Q = BTN_3
KEY_W = BTN_4
KEY_E = BTN_5
KEY_OPENBRACE = BTN_6
KEY_SPACE = BTN_SHUTDOWN

And in the skin, set HighNumber to 6 and UseZero to False.  (Just edit the SKN file with a text editor to change the settings.)

The two buttons below those keys have a couple of good possibilities, either to jump to the first or last page, volume up/volume down, Popular/Pause, Pause/Skip Track, Previous Letter/Next Letter... lots of good pairs here.

--Chris



--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com