News for hackers. Stuff that matters.
Re:Why Is It So Hard to Detect Keyup Event on Linux? by amelius on Monday May 17, 2021 @11:46AM (#27184786)
> Linux exposes your keyboards as /dev/inputN devices

Yeah, but those are only readable by root.

Re:Why Is It So Hard to Detect Keyup Event on Linux? by zozbot234 on Monday May 17, 2021 @12:02PM (#27184974)
The modern Linux stack allows non-root users to access these if they're "bound" to the right 'seat' and 'session' in the freedesktop-derived multiseat infrastructure. AIUI, this is how non-root X works as well. It's incredibly clunky stuff because no one has ever made the effort to refactor it nicely (the typical problem with all fd.o stuff), but this is supposed to be possible.