2

My goal is to remap a physical device (Aimtrak Lightgun) which acts like a mouse, towards different button input (the X,Y are fine). Currently the trigger registers as a right mouse click, but I want this to become a left mouse click.

I did follow the evdev tutorial, adjusting the "create uinput" and "injecting" parts. There is no error, but the mouse is not moving or the button is not clicked.

So it would be fine to grab the device and control all the input. But I am unable to make it work. Any other approach is also welcome.

DeDenker
  • 397
  • 3
  • 14

0 Answers0