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: Ligh gun on Mame (Pi)  (Read 4659 times)

0 Members and 1 Guest are viewing this topic.

a7mag3ddon

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:December 14, 2021, 02:38:54 pm
  • I want to build my own arcade controls!
Ligh gun on Mame (Pi)
« on: November 22, 2015, 01:29:20 pm »
Hi all,

not sure if this is quite the right forum but hope it is. I recently got an Aimtrak Light Gun and think it should work as it emulates a USB Mouse?

Has anyone got a gun working on it yet? Can anyone point me to what file i need to edit to enable it?

I read somewhere about creating a mame.ini and setting lightgun to 1 but i cant find where i read it.

Any help greatly appreciated.

Many thanks.

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5645
  • Last login:March 02, 2019, 07:35:34 pm
  • I glow in the dark.
Re: Ligh gun on Mame (Pi)
« Reply #1 on: December 28, 2015, 10:50:14 pm »
I think drivers would be an issue, but I do have a topgun and a spare pi to test.......
If I had only one wish, it would be for three more wishes.

burn_654

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 158
  • Last login:March 06, 2024, 03:31:13 pm
  • I want to build my own arcade controls!
Re: Ligh gun on Mame (Pi)
« Reply #2 on: February 01, 2016, 03:23:57 pm »
The aimtrak automatically installs as a usb mouse/hid in windows, no outside driver needed (and seemingly, no real os requirement? I'd have to imagine it could work on a mac.)

Ideally, you could plug it in over usb and it should show up as a generic usb mouse. The only thing you'd potentially lose out on for the pi is the aimtrak utility for adjusting things such as button assignments, ir gain, and recoil, but I think those settings get saved to the gun's memory internally. You could change them to your liking on your computer and then hook it up to the pi.

Granted I have not tried this but that's my thinking. If generic mouse drivers are robust for the pi it might be worth a shot! The topgun however does require a specialty device driver so slim to no chance of that working out.

Jesperpark

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:March 16, 2021, 12:24:05 pm
Re: Ligh gun on Mame (Pi)
« Reply #3 on: February 22, 2016, 03:24:05 pm »
Just a bump on this, also to see if there is anyone who has tried this?  I don't have the Aimtrak but I am looking for a project to use a Pi with.  Thinking like a Pi, 2 Aimtraks in a pelican case, a protable shooting game setup

Thoughts??

Cheers,

burn_654

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 158
  • Last login:March 06, 2024, 03:31:13 pm
  • I want to build my own arcade controls!
Re: Ligh gun on Mame (Pi)
« Reply #4 on: February 25, 2016, 10:48:04 am »
If you already have a pi, maybe a valuable test to do would be plugging two usb mice into it and seeing if they can pick up as separate player 1 and player 2 crosshairs in mame for pi. If that works then your chances of aimtraks working out should be good. Aimtraks basically show up as 2 rawinput mice so the determining factor for me would be checking if pi mame can do multiple mice well.

mike5im5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:December 23, 2021, 03:22:21 pm
  • I want to build my own arcade controls!
Re: Ligh gun on Mame (Pi)
« Reply #5 on: April 07, 2016, 09:50:46 am »
Yes the Aimtrak will be detected as a mouse on raspbian. So it's down to what ever software you're using to emulate to support the mouse input. I've got many light gun games working (operation wolf/thunderbolt, terminator 2, zero point etc) running under advance mame that comes with the latest retropie dist.

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5645
  • Last login:March 02, 2019, 07:35:34 pm
  • I glow in the dark.
Re: Ligh gun on Mame (Pi)
« Reply #6 on: April 27, 2016, 03:49:21 pm »
Top Guns did not work on the Pi. (Thank God) The whole idea of powering it would eventually cause a fire. 

It worked great on CoinOPS though!!!   >:D
If I had only one wish, it would be for three more wishes.