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: USB Gamepad  (Read 1384 times)

0 Members and 1 Guest are viewing this topic.

EASports

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:June 25, 2014, 12:48:09 am
  • Just a silly MAME player!
USB Gamepad
« on: November 01, 2003, 05:29:43 am »
I've read that there's a max number of key inputs from a USB keyboard, but what about USB gamepads?

What I'm thinking about is picking up three cheap USB gamepads, wiring two of them to player controls, and one for menu buttons (and use one of the joystick to keystroke programs). Then plug them all into a USB hub inside the control panel, and have only the one USB cable coming out.

Is this at all realistic, or am I way off here?
Thanks!

IceCold

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 350
  • Last login:March 22, 2010, 05:11:22 pm
    • My MAME cabinet webpage
Re:USB Gamepad
« Reply #1 on: November 01, 2003, 10:04:44 am »
I've read that there's a max number of key inputs from a USB keyboard, but what about USB gamepads?

What I'm thinking about is picking up three cheap USB gamepads, wiring two of them to player controls, and one for menu buttons (and use one of the joystick to keystroke programs). Then plug them all into a USB hub inside the control panel, and have only the one USB cable coming out.

Is this at all realistic, or am I way off here?
Thanks!
This is realistic and should work fine(as long as you're not running dos, and I don't think windows 95 likes USB gamepads either).  I also strongly suggest you don't use gravis gamepad pro's.  Not only are they expensive, but people have run into problems when hacking them.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:USB Gamepad
« Reply #2 on: November 01, 2003, 11:37:05 pm »
I've read that there's a max number of key inputs from a USB keyboard, but what about USB gamepads?

To add a little meat to this question, USB gamepads might be able to do 128 buttons at the same time.  If hardware is set up for it, the driver is set up for it, and the comunication signal (data pack) is up for it.  :P

You see, the USB keyboard limitation is due to the "standard" USB keyboard comunication data packs sent between the computer and the keybaord, as well as the keyboards' hardware.  USB ipac, a "keyboard", doesn't use the "standard" keyboard USB data packs, nor have the same keyboard hardware, so it does not have the same limitation other "normal" USB keyboards have.

On the same line, USB joysticks are much less standardized in their data packs (well, there are different "standard" sets).  So the same-time button limit depends on the manufacturer's hardware and which driver it uses.  I haven't noticed any limits on number buttons can be pressed same-time on my 8 button, 4 analog axis, 2 digital axis, & one hat button gamepad.


You idea sounds fine for most gamepads, AFAIK.
Robin
Knowledge is Power

EASports

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:June 25, 2014, 12:48:09 am
  • Just a silly MAME player!
Re:USB Gamepad
« Reply #3 on: November 02, 2003, 09:52:19 am »
Sweet, dude. Thanks for the info, good stuff to know! I think that this is how I'll go for my proto-project.

Thanks!