aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/input/input.txt
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-04-17 23:35:58 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-17 23:40:52 -0400
commit4a74491ef514c01f45d820b10501a5cfcccd3c73 (patch)
tree32349ae0ae1503aedfcb156c83262ff36eca0a94 /Documentation/input/input.txt
parent89b09b99703b0068f6bc39f7aa48dc81cd7e14d3 (diff)
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 {
278}; 278};
279 279
280 'time' is the timestamp, it returns the time at which the event happened. 280 'time' is the timestamp, it returns the time at which the event happened.
281Type is for example EV_REL for relative moment, REL_KEY for a keypress or 281Type is for example EV_REL for relative moment, EV_KEY for a keypress or
282release. More types are defined in include/linux/input.h. 282release. More types are defined in include/linux/input.h.
283 283
284 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete 284 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete