Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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>
|
|
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>
|
|
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>
|