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: Multiple USB Devices help needed  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Multiple USB Devices help needed
« on: January 30, 2007, 09:09:40 am »
I have a regular mouse, a spinner, a trackball,  and light gun 1&2 for a total of five devices that register as Mouse under Windows XP.  I also have two dance pads that I occasionally plug into the USB as well.  Everything works 100%. The only problem I have is that device assignment is not permanent. I.e. depending on when I plug in dance pads (before or after I boot up) light gun 1 could register as mice 1 or 2, or 3, etc.  So I have to go under the TAB menu in MAME and reassign the controls. Same for spinner, trackball, etc.  Is there any way to make sure that, for example, lightgun 1 is mouse 2 regardless of what other devices I have plugged into the USB.  Thank you for your help.

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Multiple USB Devices help needed
« Reply #1 on: January 30, 2007, 09:48:19 am »

Unfortunately, I think you're sunk.  Check out this thread.
My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: Multiple USB Devices help needed
« Reply #2 on: January 30, 2007, 09:52:20 am »
looks like it, thanks for the link

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: Multiple USB Devices help needed
« Reply #3 on: January 30, 2007, 10:11:43 am »
what if I wait for it to boot up and only then plug in the dance pads? I'll try it tonight but I think it could work.

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Multiple USB Devices help needed
« Reply #4 on: January 30, 2007, 10:24:02 am »

I was wondering the same thing.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 11:52:51 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Multiple USB Devices help needed
« Reply #5 on: January 31, 2007, 08:38:34 am »
Unfortunately this issue is all too common.  When the multiple mice code was introduced I complained that this very thing would happen and that the traditional method of doing mice needed to be kept as well.  I was basically "told where to go" but the fact remains that this is an issue. 

Cananas

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:August 27, 2017, 07:39:03 am
  • and the seventh day... PacMan was created
Re: Multiple USB Devices help needed
« Reply #6 on: February 01, 2007, 11:37:17 am »
I have a regular mouse, a spinner, a trackball,  and light gun 1&2 for a total of five devices that register as Mouse under Windows XP.  I also have two dance pads that I occasionally plug into the USB as well.  Everything works 100%. The only problem I have is that device assignment is not permanent. I.e. depending on when I plug in dance pads (before or after I boot up) light gun 1 could register as mice 1 or 2, or 3, etc.  So I have to go under the TAB menu in MAME and reassign the controls. Same for spinner, trackball, etc.  Is there any way to make sure that, for example, lightgun 1 is mouse 2 regardless of what other devices I have plugged into the USB.  Thank you for your help.

I think you're wrong in one thing. The connection of the dance pads (a Joystick, in fact) does not disturb to the assignment of the mouse devices.

In case you are saying that you need to detach a mouse device to connect the dance pads, the only solution is that you connect the dance pads where you have attached the two last mouse devices.

The order of the mouse devices is like this: first device connected, first device, second connected, second device, etc... Be careful this is for the very first time you connect a device. After the first connection, the order will always be the same if the device attached are the same.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Multiple USB Devices help needed
« Reply #7 on: February 01, 2007, 11:53:54 am »
The order of the mouse devices is like this: first device connected, first device, second connected, second device, etc... Be careful this is for the very first time you connect a device. After the first connection, the order will always be the same if the device attached are the same.

I guess it is more of a problem if the devices are not always the same...swappable control panels springs to mind.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: Multiple USB Devices help needed
« Reply #8 on: February 01, 2007, 11:55:43 am »
I am pretty sure you are correct. I did some additional plugging / unplugging with / without reboot and it looks that for the devices that are always plugged in the assignment doesn't change when you plug / unplug additional stuff.  This is perfectly fine for what I am trying to accomplish.