Here is the evtest utilities I was thinking of earlier: http://cgit.freedesktop.org/~whot/evtest/tree/evtest-capture.txt
The code is capable of creating the code for a uinput device using xsltproc.
Here is the evtest utilities I was thinking of earlier: http:// cgit.freedeskto p.org/~ whot/evtest/ tree/evtest- capture. txt
The code is capable of creating the code for a uinput device using xsltproc.