detect keypress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel seems to have issues to detect whether a key is pressed on
linux outside of an event loop:

Article in French:
http://www.glazman.org/weblog/dotclear/index.php?2006/01/13/1496-un-truc-qui-me-gave-gravement

Basically he writes a code block that should do what he wants but:

"Mais ça, qui semble être la seule manière de faire, NE MARCHE PAS
parce que X bloque l'accès non-root à /dev/tty ou /dev/console"

translates to

"This, which seems to be the only way to achieve my goals, doesn't
work because X block non-root access to /dev/tty or /dev/console."

Anyone has an idea on how to solve this?

Jerome

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux