I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the
/dev/input/[...] files, they are very practical and I can read the events of any key even caps lock or Super. But I see that the keyboard input is subject to the key repeat system, and I don't want.
Is this the lowest level of information we can read from the kernel (this means that the key repeat behaviour is implemented in the keyboard??) or does it exists an API with more granularity (that logs as events as possible)? Also, is it possible to read events like this without root privileges ?