Aimtrak Light Guns not recognized in AdvMame1.4
-
First and foremost, I would like to thank all the contributors. This website is a great resource.
Specs
Pi Model: 3B overclocked at 1.45GHz
Power Supply used: https://amzn.to/2I95FC3
RetroPie Version Used: 4.4
Built From: https://amzn.to/2I2tiw7
Emulator: AdvMame1.4
USB Devices connected:- keyboard
- Powered USB hub (https://amzn.to/2HFU1is)
- Power supply (https://amzn.to/2I95FC3)
- Trackball (https://amzn.to/2jmYEPO)
- Aimtrak light gun and LED bar (https://bit.ly/1Ts9ZIC). Light gun connected directly to pi usb and led bar connected to powered usb hub, as advised in Aimtrak manual
My Retropie cabinet is still work in progess but overall it's working well and I am happy with the results. My goal is to add two Aimtrak light guns. I was able to configure the light gun through both Windows-Ultimark plugin and Rertopie-Gunconf so I am confident the light gun works fine. AdvanceMame 1.4 however doesn’t seem to co-operate.
According to /opt/retropie/emulators/advmame-1.4/bin/advm the trackball appears to be recognized but not the lightgun. See below log upon advm launch.
Driver event, mouses 2 mouse 0, axes 1, buttons 0 axe 0 [hwheel] mouse 1, axes 3, buttons 5 axe 0 [x] axe 1 [y] axe 2 [wheel] button 0 [left] button 1 [right] button 2 [middle] button 3 [side] button 4 [extra] Press Break to exit mouse 0, [], [ 0] mouse 1, [-----], [ 0, 0, 0] ( 0 ms)
The trackball is mouse 1 and the lightgun is mouse 0. Every time I move the trackball, it produces nice healthy readings. The lightgun on the other hand generates characters like ^[[C^[[ B^[[D which are similar to pressing arrow keys.
Retroarch Input Driver is set at udev. Everytime I enter Retroarch environment, I get the following message "100% Ultimark Ultimark (53769/5633) not configured"
Interestingly, when I use the cat /dev/input/mice command, both trackball and lightgun are recognized and generate similar/random characters as I move them around. Things seem to be working fine on that front.
Also, this is my cat /opt/retropie/configs/mame-advmame/advmame-1.4.rc log
https://paste.ubuntu.com/p/F4xFzZzVq8/I would like to mention that initially my trackball wasn't recognized either. I followed user @ajacks504 advice in a post a few weeks ago: I went to:
- opt\retropie\configs\all (directory)
- retroarch-core-options.cfg (file)
- mame_current_mouse_enable = "enabled" (wrote command)
That brought my trackball in life. I was able to play Arkanoid on Mame4All just fine (for some reason however Arkanoid doesn't recognize the trackball anymore, not sure if this relates to my issue somehow)
I tried reinstalling AdvMame 1.4 however the config file remained the same, so I am not sure how to start with a clean install and take things from the beginning.
Please note that until a week ago I was completely clueless regarding everything related to Raspberry and Linux. It was through this forum that I picked up the basic knowledge and am at least able to articulate my challenges.
Thank you again and I look forward to the community's answers.
-
I know this is an old post but have you installed gunconf for linux support?
-
did you manage to fix? I am having the same issue and it's driving me insane. Not sure how much more time I can dedicate to it
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.