Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a74491e authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by Dmitry Torokhov
Browse files

Input: fix typo in documentation



Event type for key presses is EV_KEY, not REL_KEY.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 89b09b99
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -278,7 +278,7 @@ struct input_event {
};
};


  'time' is the timestamp, it returns the time at which the event happened.
  '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.
release. More types are defined in include/linux/input.h.


  'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete
  'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete