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: 3 trackballs, 3 spinners - need interfaces  (Read 2065 times)

0 Members and 1 Guest are viewing this topic.

badweasel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:December 05, 2018, 01:24:07 am
  • I want to build my own arcade controls!
3 trackballs, 3 spinners - need interfaces
« on: October 30, 2016, 05:30:10 pm »
My build is here: http://forum.arcadecontrols.com/index.php/topic,152126.0.html

I will be in windows 10 doing mame.

I did search on here for an answer but all the results I found were pretty old.  I don't know if things have changed in the last few years.

I'm trying to decide which opti- interface to get.  I have 3 trackballs and 3 spinners.  But already one of the trackballs is USB, the other two have the opti cable.  I could still return the USB one and get another opti one.  But only if it's necessary as it will take weeks to process.

I had assumed that it would be better to get the Opti-wiz from groovy game gear so I could map the spinners to the Z axis and the trackballs to XY.  But now I'm reading about the 4 to 1 problem with Z axis and I'd rather not have to patch mame.

I'll have no choice but to do multimouse but was informed that Windows can remap them which sounds super annoying.  How bad is this problem?  Is there any hack to make sure the devices don't get mixed up between bootups?  Does the opti-wiz "USB Device Number" help with this issue?

I can't have devices "adding to each other" because players could mess up other players games.  I have a boy in the house  ;D

The Opti-whiz is $15 each.  The Opti-pac is $40.

The Opti-pac supports 2 sets of trackballs and spinners but the faq (http://www.ultimarc.com/optipac5.html) says it adds the values together which I can't do.

So I'm looking for advice.  I could get 4 opti-wiz's. 2 for 2 trackballs, 1 for 2 spinners, and the last one for the last spinner.  The last trackball already has USB.


I also thought of a DIY option to make my own interface using arduino.  My concept would be for the interface to ignore all control inputs except the one that should be used for that game.  A command from the PC to the interfce could select which control to use.  This would mean that mame would need to know when the player switches and be able to call a routine to send the command.  I'd also have to know a little more than I do about how to read the optical signals and communicating as a mouse.  But is seems like someone would have already done this.



badweasel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:December 05, 2018, 01:24:07 am
  • I want to build my own arcade controls!
Re: 3 trackballs, 3 spinners - need interfaces
« Reply #1 on: October 30, 2016, 05:50:16 pm »
I found this which is helpful.  So a bunch of opti-wiz's might be the answer: http://docs.mamedev.org/advanced/devicemap.html

I also found out how to do the arduino thing and emulate a mouse with arduino.  So this might also be an option - if there is a way to send a command back to the arduino when player changes.  I would think there is because of all the LED effects.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 04:55:58 pm
  • Designated spam hunter
Re: 3 trackballs, 3 spinners - need interfaces
« Reply #2 on: October 31, 2016, 01:39:39 am »
http://docs.mamedev.org/advanced/devicemap.html
I figured you'd ether find that or Drventure's ControllerRemap for Mame and Stigzler's ControllerRemap GUI.   ;D

One thing that can trigger the renumbering problem is connecting your encoders thru a USB hub.
Are you plugging it into the pc directly or a hub?  It's a little known fact that windoze handles hubs differently.... usually they are enumerated based on the order of detection.

If you can connect the Opti-Wiz's and trackball to USB ports on the motherboard, you are less likely to encounter renumbering problems.


Scott

badweasel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:December 05, 2018, 01:24:07 am
  • I want to build my own arcade controls!
Re: 3 trackballs, 3 spinners - need interfaces
« Reply #3 on: November 01, 2016, 03:50:52 am »
Are you plugging it into the pc directly or a hub?  It's a little known fact that windoze handles hubs differently.... usually they are enumerated based on the order of detection.

If you can connect the Opti-Wiz's and trackball to USB ports on the motherboard, you are less likely to encounter renumbering problems.

Scott

Thanks.  I only have 4 usb ports on my pc, which is an alienware alpha r2.  So I will need a hub to connect everything but based on that info I can probably put the opti-wiz  in 3 of the ports and put the hub in the 4th.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 04:55:58 pm
  • Designated spam hunter
Re: 3 trackballs, 3 spinners - need interfaces
« Reply #4 on: November 01, 2016, 04:08:00 am »
I only have 4 usb ports on my pc
Isn't there another 9-pin USB header (or two) on the motherboard?

https://www.amazon.com/uxcell%C2%AE-Motherboard-Header-Female-Bracket/dp/B00HR5RRNE/




Scott
Edit: Nevermind.  Just looked up the "alienware alpha r2" and it doesn't appear to be expandable beyond the 5 onboard USB ports. (Hardwaresecrets -- "There are two USB 3.0 ports on the front of the device, two USB 3.0 ports on the back and one USB 2.0 on the bottom.")
« Last Edit: November 01, 2016, 04:25:13 am by PL1 »

badweasel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:December 05, 2018, 01:24:07 am
  • I want to build my own arcade controls!
Re: 3 trackballs, 3 spinners - need interfaces
« Reply #5 on: November 01, 2016, 04:14:03 pm »
I didn't realize there was one on the bottom.  I'll check that out.  I'm typically a mac guy and I haven't even turned on the pc yet.  I was trying to get the most bang for my buck and a real graphics card rather than just using the onboard one.  I got the alienware with 6th gen i5 for under 600 on their outlet store.