Skip to content

Commit

Permalink
Input: fix typo in documentation
Browse files Browse the repository at this point in the history
Event type for key presses is EV_KEY, not REL_KEY.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Dmitry Torokhov committed Apr 18, 2009
1 parent 89b09b9 commit 4a74491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/input/input.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a74491

Please sign in to comment.