Skip to content
Advertisement

Format of /dev/input/event*

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.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement