What is the “format” of the character devices located in /dev/input/event*
?
In other words, how can I decode the character stream? A Python example would be greatly appreciated.
Advertisement
Answer
Right here in the Input.py module. You’ll also need the event.py module.