diff options
author | Paul Fox <pgf@laptop.org> | 2011-08-29 14:13:23 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-29 14:13:23 +1000 |
commit | 56a4f37e3311a8f4c8575a8c04b211c5f7ca3e61 (patch) | |
tree | 436ea916c7d7deaedd541f7de90aaf30e2f5c655 | |
parent | 8a10dfe3b7bc53b319107de89434922a2c79ef94 (diff) |
change documentation of query-mode exit values to match code
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>
-rw-r--r-- | evtest.txt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,8 +29,8 @@ of the state of a specific key *value* of an event *type*. being queried. If the state bit is set (key pressed, switch on, ...), evtest exits with -code 0. If the state bit is unset (key depressed, switch off, ...), evtest -exits with code 10. No other output is generated. +code 10. If the state bit is unset (key depressed, switch off, ...), evtest +exits with code 0. No other output is generated. evtest needs to be able to read from the device; in most cases this means it must be run as root. |