summaryrefslogtreecommitdiff
path: root/evtest.txt
AgeCommit message (Collapse)AuthorFilesLines
2015-01-30Add grab flagJoseph Hwang1-1/+5
If the --grab flag is given in capture mode, evtest keeps an EVIOCGRAB on the device. While this grab is active, other processes will not receive events from the kernel devices. The grab is released again when evtest quits. TEST=Check that the cursor is frozen when --grab option is specified. $ evtest --grab Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-08-08Point users at fuser to figure out what has the device openPeter Hutterer1-0/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-29change documentation of query-mode exit values to match codePaul Fox1-2/+2
in query mode, the zero/non-zero exit code matches the zero/non-zero state of the key bit. so the command "succeeds" in the shell Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-22Add one-shot query functionalityDaniel Drake1-5/+28
Add functionality to query evdev state of a specific key, switch, button, LED or sound event. This is useful in programs such as powerd (http://wiki.laptop.org/go/Powerd) which need to query things like the state of the laptop lid switch from shell code. Original capture-mode functionality is left unchanged and is still activated by default. New usage modes are explained in the man page. Signed-off-by: Daniel Drake <dsd@laptop.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-24Asciidoc manpage instead of nroff, add manpage for evtest-capture.Peter Hutterer1-0/+46
asciidoc has the huge advantage of being human-readable. The generation of the actual manpage is somewhat complicated, but one can link straight to the evtest.txt file in cgit instead of being blamed for bleeding eyes when users look at nroff source. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>