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: Aimtrak on Linux  (Read 3632 times)

0 Members and 1 Guest are viewing this topic.

whoremoan

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:October 11, 2020, 06:53:56 am
  • I want to build my own arcade controls!
Aimtrak on Linux
« on: October 11, 2020, 06:53:56 am »
I recently purchased an Aimtrac lightgun and I am having massive issues getting this to work in MAME running on Ubuntu (20.04).
I am using the latest build of MAME (0.225) and Ubuntu is running on a PC, not a Raspberry Pi or anything like that.
Using The Ubuntu desktop The gun works as a mouse. Other than it's not very accurate, because the calibration utility doesn't work, it works fine.
In MAME itself, if I press TAB to go to the controller options, that sees it as Mouse1, which exactly how it picks up my trackball, which works perfectly in gun games and also my Spinner.
However, the only thing that isn't right with this is, when configuring mouse devices, depending on what way you move the device, you get mouse X or Mouse Y. With the Aimtrac, Whatever way I move the gun I get Mouse X & Y at the same time.
I'm guessing, as a result of this, when I try to use the Aimtrac in a game, as soon as you bring the gun into view of the sensor, it just drops the crosshair into the bottom right hand corner of the screen and will not move.
If you take the gun out of sight of the sensor, you can move the crosshairs with the spinner or the trackball no problem.
The other thing I've found is, I'm using EmulationStation as part of RetroPie, so even though I'm not using it, I have LR-Mame installed. If I open up a shooting game with LR-MAME2016 instead of standard MAME, the gun works! However, my spinner doesn't.
I've tried following the steps under 'using a lightgun in Linux' in the official MAME documentation, but that didn't resolve the issue. In fact it introduced some new problems, for example disabling the buttons on my Ultimarc Ultimate IO controller.
A friend of mine also has two of these guns running on a similar set up, but using Debian rather than Ubuntu and they are getting exactly the same problems as me.
I have spoken to Andy at Ultimarc about this and he wasn't able to offer up any solutions other than giving me a link to an updated version of the Linux config utility, which still does not work.
Any help, solutions or suggestions welcome as this is driving me mad.
Apologies if this is something that has already been covered, but the forum search function does not seem to work,

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:May 29, 2024, 02:10:17 pm
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: Aimtrak on Linux
« Reply #1 on: October 19, 2020, 10:32:37 pm »
I got them working on my BOX (Ubuntu 20.04) I can help you, how many guns you have?
I did this video today