3 ms·
You might find this interesting. I skip the X layer and just access linux device events directly, in Ruby here: https://github.com/rickhull/device_input https
by RickHull 3y ago
You might find this interesting. I skip the X layer and just access linux device events directly, in Ruby here:
https://github.com/rickhull/device_input https://github.com/rickhull/device_input
- kugurerdem 3y agoI have just read your README.md file and found your repo interesting indeed. The README is well written. I knew it was possible to read and parse /dev/input/* files, but was hesitant to get into the intricacies you described. Anyway, great job sir! Now I will read your code out of curiosity :)
- RickHull 3y agoGlad to hear it! Don't hesitate to contact me with any questions. You can make issues on the repo for anything that is confusing.