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: how to maintaint device ids??? (losing trackball and spinner settings)  (Read 955 times)

0 Members and 1 Guest are viewing this topic.

aldub516

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 29, 2018, 03:32:46 pm
  • I want to build my own arcade controls!
So ive done my best to never unplug or switch around my inputs on my pc. I keep the ipac plugged in always, and never turn on the pc unless i have my mouse/keyboard usb plugged into the same port.. Im not seeing mame isnt reading my trackball and spinner.. they were set to mouse 1 x.. Now they are coming up as mouse x 2. What can i do to stop my devices from switching ids randomly and messing up my whole set up

lamprey

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:January 17, 2019, 07:03:11 pm
Do you mean in MAME or some other emulator?

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • Last login:August 25, 2015, 11:58:25 pm
  • I want to build my own arcade controls!
I know what you mean. Unfortunately, this will happen in Windows. Every time you reboot, there's the potential for Windows to assign a different device ID to an HID.

There's really no way around this besides having only one mouse even plugged into the system (if that's possible). Even if you were to do something like get the "name" of the device and try to use that, it wouldn't help you, because if you had multiple devices of the same type connected to your PC, there would be no way to distinguish which one was which.

lamprey

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:January 17, 2019, 07:03:11 pm
I haven't tried the ControllerRemap Utility myself, yet. But, it might be of help to you. Basically, all controllers have  GUID and you can use that to re-map the IDs to stay consistent:

http://forum.arcadecontrols.com/index.php?topic=108767.0

aldub516

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 29, 2018, 03:32:46 pm
  • I want to build my own arcade controls!
The analog controls are only needed for mame.. and thank you for the brutal honestly lol. Although i understand why the problem exists, it seems kind of incredibly inconvenient for the arcade builder. So for someone that has an arcade set up where it will get a lot of use, be it  a game room, or kids room, or even (tsk tsk) commercially, it is absolutely common for them to have to remap the analog buttons frequently? That seems like a huge setback to me in a way. I will investigate. Sorry for the novel. From what i read, the problem arises when different devices are disconnected, reconnected, and moved around in orders and such.. If i were to ALWAYS keep the same things plugged in, in the same ports, and never added anything or changed anything, would the pc read the ports in the same order everytime? Or its it really random? For instance, As far as controllers, i have 1 usb plug thing for my wireless keyboard mouse, and the usb to the ipac... thats it for controllers. If i kept those two in the same position and never changed, would the devices load the same? Do pcs read ports in order or just basically like "hey im gonna send a test out to the devices and see who gets back to me first" I guess theres only so many analog games that my friend will always want to play, but it definitely takes away from the experience when you boot up tempest, and have to tab out and reassign a bunch of analog controls. I can see him making a mess in settings

ps.. ive uploaded a picture of my ipac setting screen.. I never mapped the trackball or spinner section through the program, because they automatically read as analog controls and just work when i set them in mame settings... Would there be a benefit to assigning the controls in the ipac software? Or does it not matter, since they still both get recognized by windows anyway


..

« Last Edit: March 21, 2015, 10:24:31 pm by aldub516 »