Commit 4a74491ef514c01f45d820b10501a5cfcccd3c73
Committed by
Dmitry Torokhov
1 parent
89b09b9970
Exists in
master
and in
7 other branches
Input: fix typo in documentation
Event type for key presses is EV_KEY, not REL_KEY. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
Documentation/input/input.txt
... | ... | @@ -278,7 +278,7 @@ |
278 | 278 | }; |
279 | 279 | |
280 | 280 | 'time' is the timestamp, it returns the time at which the event happened. |
281 | -Type is for example EV_REL for relative moment, REL_KEY for a keypress or | |
281 | +Type is for example EV_REL for relative moment, EV_KEY for a keypress or | |
282 | 282 | release. More types are defined in include/linux/input.h. |
283 | 283 | |
284 | 284 | 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete |