aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/input/input.txt
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-02-09 07:53:29 +0100
committerJonathan Corbet <corbet@lwn.net>2017-02-12 15:19:00 -0700
commitda23e4d16ded49ac648fa78c45aa327d4b8ed522 (patch)
tree21c0c782a0b94b4d70b240ea757a270dffd9f7bf /Documentation/input/input.txt
parentdocs: Remove the copyright year from conf.py (diff)
downloadlinux-dev-da23e4d16ded49ac648fa78c45aa327d4b8ed522.tar.xz
linux-dev-da23e4d16ded49ac648fa78c45aa327d4b8ed522.zip
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>
Diffstat (limited to 'Documentation/input/input.txt')
-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 {
'time' is the timestamp, it returns the time at which the event happened.
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/uapi/linux/input-event-codes.h.
'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete
-list is in include/linux/input.h.
+list is in include/uapi/linux/input-event-codes.h.
'value' is the value the event carries. Either a relative change for
EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for