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: Help with Multiple Controller Ports on Cab and Hyperspin  (Read 1789 times)

0 Members and 1 Guest are viewing this topic.

TheSlim

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 53
  • Last login:September 27, 2015, 10:11:37 am
Help with Multiple Controller Ports on Cab and Hyperspin
« on: July 28, 2014, 10:48:33 pm »
So here is, i believe, a unique issue.  I am about finished with my newest cab.  I ditched the guns and replaced them with authentic controller ports (using  Raphaël Assénat's usb hardware).  The emulators and pc games seem to be confused when controllers are hooked up.  Let me give you some background.

My setup is a 2 player 6 button control panel hooked up via ipac32 ps2 port.  I set up all the emulators to use keyboards

Then i finished my hyperspin setup and cab build and i hooked up the USB plug containing 2 nes, 2 snes ( via 1 4nes4snes) 2 n64 (via 1 mayflash) and 2 gamecube (via 2 raphnet usbs), plus standard usb ports on each side for any other controller.

When I hooked up the usb controller certain programs ignored the keyboard settings and defaulted to the gamepads (which were not plugged in but ports were activated).  these programs included as nulldc, project 64, and pc games such as nfl blitz.  others, like zsnes, worked fine w/ arcade controls (keyboard) despite usb controller ports being plugged in.

I was originally thinking of setting up the joys using joy2key so that they would be interchangeable with the arcade controls at all times.  I don't believe this would be the ideal solution for it to work across all platforms, unless someone can prove me wrong.

I believe, and I am looking for confirmation, that a better solution would be to create some sort of script for hyperspin that would work like this:

1. USB game ports would start disabled.
2. game selected by user
3. hyperspin script activated.  script asks user if they want to use a gamepad
if no, hyperspin launches
if yes 4. script asks user what type of gamepad (nes,snes,n64,gb, or usb)
5. user selects gamepad and script enables appropriate usb device. 
6. upon exit script disables gamepad

I am thinking that this should work.  I am concerned though that the usb gameport might have different ids upon at each boot, i don't know if this is true or not.  the gameports don't change in terms of how they are plugged in but they all come in through 1 usb connection that is plugged into a 6 port usb hub. 

Before I start the script, and by start i mean offer someone on here some bitcoins in exchange for the script, i want to know if connecting all the ports though 1 usb hub will cause different usb ids on each boot?  if not, is my script on the right track?

I want the easiest way to use all these tools w/o having to set up 8 joys in 10+ emus.  Your help would be appreciated and thanks for reading this long thread!