Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: fix typo in documentation

Event type for key presses is EV_KEY, not REL_KEY.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Thadeu Lima de Souza Cascardo and committed by
Dmitry Torokhov
4a74491e 89b09b99

+1 -1
+1 -1
Documentation/input/input.txt
··· 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