Hacker News new | ask | show | jobs
by throw_await 34 days ago
Every program can listen to keypresses via /dev/input
2 comments

This is false. A process needs read permission on the relevant `/dev/input/` device, typically by running as root or as a user in a group like `input`. Normal desktop users generally should not be in the input group. Regular applications receive keyboard input through the compositor/windowing system.
Not on my machines, or most for that matter.