summaryrefslogtreecommitdiffstats
path: root/Documentation/input/input.txt
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-04-18 05:35:58 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-18 05:40:52 +0200
commit4a74491ef514c01f45d820b10501a5cfcccd3c73 (patch)
tree32349ae0ae1503aedfcb156c83262ff36eca0a94 /Documentation/input/input.txt
parentInput: serio - rearrange EXPORT_SYMBOL() markings (diff)
downloadlinux-4a74491ef514c01f45d820b10501a5cfcccd3c73.tar.xz
linux-4a74491ef514c01f45d820b10501a5cfcccd3c73.zip
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/input.txt')
-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 686ee9932dff..b93c08442e3c 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