Closed grafov closed 3 years ago
I downloaded the source code of the master branch and build it locally. Also I build the tag v0.2.0. The bug didn't occured in the master but it has the place in v0.2.0.
I looked for the code and found the problem was fixed in the commit 591fd22162c4. Ok, my distro just uses the old version.
Sometime the devices set up files like /dev/input/event256 and even with higher numbers. The most of devices start from 0 and added incrementally. I don't see more than 31 device though. I don't understand the rules for this numeration. But all the devices are visible and works. Example output (some devices missed):
In the example latest two devices are: VKB joystick (hardware thing) and virtual joystick created by Opentrack. With evtest I can check the buttons and axis of these devices with high numbers. But evtest-qt doesn't see the events with numbers > 255.
I tried to make soft links to these devices this way:
In most of cases this workaround worked for evtest-qt. For the example above I've got working VKB on event56 but error with event57. What I expected that the evtest-qt would handle devices the same way as evtest cli.
I not sure the bug is the evtest-qt bug. For example X-Plane on Linux also failed with these high numbered devices. But for example War Thunder on Linux recognize them ok.
More information about my setup: