I 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 :)
Glad to hear it! Don't hesitate to contact me with any questions. You can make issues on the repo for anything that is confusing.