Hi there,
I found many topics here but no configuration I found got those lightguns to work.
Best I get is when putting
[source]
SUBSYSTEMS=="usb", ATTRS{idVendor}=="d209", MODE="0666"
[/source]
in /etc/udev/rules.d/99-aimtrak.rules and nothing in my X11. Whenever I put anything according to the guns in my X11, the guns won't work at all. This way they work as my mouse.
But I need to get them to work in mame. Only thing mattering in mame.conf seems to be
lightgun 1
any other option does not change anything. Even
lightgun_device lightgun
does the same as
lightgun_device mouse
I can shoot by pressing left ctrl and moving the cursour with my mouse. Assigning the gun buttons to fire won't work at all. I can assign the left mouse button but the gun trigger will do nothing in mame. Only thing the gun does in mame is whenever i am pointing it at the screen, the lightguncursor is glued to the lower right corner of the screen and it can't be moved until the gun does not point to the screen anymore.
Also the praised
https://github.com/gunpadawan/gunconf seems to be that much deprecated that after showing the start screen and how much guns it detected, it needs me to pull a trigger. After that it goes into an endless loop. I can see an error after killing it:
Exception ignored in: <function InputDevice.__del__ at 0x7f7ae3831a60>
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/evdev-1.3.0-py3.8-linux-x86_64.egg/evdev/device.py", line 159, in __del__
File "/usr/lib/python3.8/site-packages/evdev-1.3.0-py3.8-linux-x86_64.egg/evdev/device.py", line 304, in close
File "/usr/lib/python3.8/site-packages/evdev-1.3.0-py3.8-linux-x86_64.egg/evdev/eventio_async.py", line 54, in close
File "/usr/lib/python3.8/asyncio/events.py", line 639, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'Thread-1'.
This issue is known but the developer does not care:
https://github.com/gunpadawan/gunconf/issues/7So you got any advice on how to get those to work?