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: XBOX -- USB Joystick Controller  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

SteveJ34

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 810
  • Last login:January 06, 2024, 12:29:40 am
XBOX -- USB Joystick Controller
« on: May 11, 2004, 11:14:14 pm »
I have a full size cab and a couple of CPs I've built for friends which were all keyboard encoder based controls using joys and buttons from Happs. My experience with getting joypads and the like configured in Mame is somewhat limited, if non existent.

I picked up a couple of XBOX Arcade sticks on sale from RedOctane and XBOX--->USB adaptors with appropriate driver as a shortcut to getting a couple of sticks for my girlfriend's kids to use on their home PCs when away from the cab at my place.

Now I'm trying to get the darn things configured.....

Windows 2k sees it just fine and all calibrates...

So, I turn up joystick support in Mame32....load a game, and I see that:

Up = Up Arrow or Joy1 Y-
Down = Down Arrow or Joy1 Y+
ETC...

However, the stick moves are not recognized and if I set them they end up as:

Up = Joy1 Hat Switch U
Down = Joy1 Hat Switch D
Etc

which from a little reading I believe is because the joy is being interpreted as a "Hat Switch" which I assume it is.

The issue, all the game defaults are set to Joy1 X,Y+,- for stick movement....how can I force all of them to the Hat Switch equivalents?

If I set the overall defaults to the Hat Switch equivalents that does not apply because the specific game settings are still using the original Joy X,Y settings.

There's got to be a configuration file mass change I can apply as I'm sure others have dealt with digital control pads in the past.

I trust the above makes some sense and look forward to any and all replies.



Dak-ak

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:July 29, 2008, 05:14:50 pm
  • RSD: Redefining Slacking Daily
Re:XBOX -- USB Joystick Controller
« Reply #1 on: May 16, 2004, 05:18:34 am »
Should be possible.  I had to do the same thing with my xbox controller->usb mod.

Slightly different situation, cut up an old imac mouse (hockypuck) and wired one up.  However, in Linux, it saw my DDR pad arrows as a hat switch (as you describe) and ignored U+D or L+R input because it was "impossible" (but necissary for DDR).  Of course, being linux, i just went in and changed the source for the driver so it handled it as buttons instead of a hat switch ;)

For windows, you hit google or something, i suppose ;)

http://redcl0ud.hostrocket.com/xbcd.html

try using the DDR version of the driver... see if that fixes your problem... It's what i use in windows when i desire to get my stepmania on.