summaryrefslogtreecommitdiffstats
path: root/Documentation/input
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-04-17 20:35:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-17 20:40:52 -0700
commit4a74491ef514c01f45d820b10501a5cfcccd3c73 (patch)
tree32349ae0ae1503aedfcb156c83262ff36eca0a94 /Documentation/input
parent89b09b99703b0068f6bc39f7aa48dc81cd7e14d3 (diff)
downloadop-kernel-dev-4a74491ef514c01f45d820b10501a5cfcccd3c73.zip
op-kernel-dev-4a74491ef514c01f45d820b10501a5cfcccd3c73.tar.gz
Input: fix typo in documentation
Event type for key presses is EV_KEY, not REL_KEY. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'Documentation/input')
-rw-r--r--Documentation/input/input.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt
index 686ee99..b93c084 100644
--- a/Documentation/input/input.txt
+++ b/Documentation/input/input.txt
@@ -278,7 +278,7 @@ struct input_event {
};
'time' is the timestamp, it returns the time at which the event happened.
-Type is for example EV_REL for relative moment, REL_KEY for a keypress or
+Type is for example EV_REL for relative moment, EV_KEY for a keypress or
release. More types are defined in include/linux/input.h.
'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete
OpenPOWER on IntegriCloud