Is there a way to read from
/dev/input devices, without needing root privileges?
In my case, I would like to use the Python library evdev to read from multiple keyboards (so that I know which keyboard the signal comes from), so simply using
stdin is not possible.
Always having to call the program with sudo-privileges would not be too elegant - is it, for example, possible to chmod the
/dev/input directory (security does not matter in my case)?
Or, even better, is there another way of directly reading from input devices?