Format of /dev/input/event*

device, linux, python

Solution

Right here in the Input.py module. You'll also need the event.py module.

Problem

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.

Original source