提交 4a74491e 编写于 作者: T Thadeu Lima de Souza Cascardo 提交者: Dmitry Torokhov

Input: fix typo in documentation

Event type for key presses is EV_KEY, not REL_KEY.
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 89b09b99
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册