aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-02-09 01:53:29 -0500
committerJonathan Corbet <corbet@lwn.net>2017-02-12 17:19:00 -0500
commitda23e4d16ded49ac648fa78c45aa327d4b8ed522 (patch)
tree21c0c782a0b94b4d70b240ea757a270dffd9f7bf
parentdc36143fba936d8f1a673e2b554bc5b6cb0dd9ce (diff)
Documentation: input: fix path to input code definitions
The UAPI header split failed to update the documentation for the input event codes; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/input/input.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt
index 0acfddbe2028..7ebce100fe90 100644
--- a/Documentation/input/input.txt
+++ b/Documentation/input/input.txt
@@ -279,10 +279,10 @@ struct input_event {
279 279
280 'time' is the timestamp, it returns the time at which the event happened. 280 'time' is the timestamp, it returns the time at which the event happened.
281Type is for example EV_REL for relative moment, EV_KEY for a keypress or 281Type is for example EV_REL for relative moment, EV_KEY for a keypress or
282release. More types are defined in include/linux/input.h. 282release. More types are defined in include/uapi/linux/input-event-codes.h.
283 283
284 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete 284 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete
285list is in include/linux/input.h. 285list is in include/uapi/linux/input-event-codes.h.
286 286
287 'value' is the value the event carries. Either a relative change for 287 'value' is the value the event carries. Either a relative change for
288EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for 288EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for