aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/input
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-03-12 12:54:22 +0100
committerJonathan Corbet <corbet@lwn.net>2017-03-13 17:15:24 -0600
commit28a5c9648bcb8e55ee6b9ff8a707c5c654f3b633 (patch)
tree96dd19f7202139cdd0da5fc9aabd33b11867770d /Documentation/input
parent1e1f780f8bbb08afdc01311e635778d2bd09fe9b (diff)
downloadlinux-28a5c9648bcb8e55ee6b9ff8a707c5c654f3b633.tar.gz
Documentation: input: fix path to input code defnitions
The UAPI header split failed to update the documentation in input-programming.txt; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/input')
-rw-r--r--Documentation/input/input-programming.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/input/input-programming.txt b/Documentation/input/input-programming.txt
index 7f8b9d97bc47d..c3b940baba423 100644
--- a/Documentation/input/input-programming.txt
+++ b/Documentation/input/input-programming.txt
@@ -174,8 +174,8 @@ It's reported to the input system via:
input_report_key(struct input_dev *dev, int code, int value)
-See linux/input.h for the allowable values of code (from 0 to KEY_MAX).
-Value is interpreted as a truth value, ie any nonzero value means key
+See uapi/linux/input-event-codes.h for the allowable values of code (from 0 to
+KEY_MAX). Value is interpreted as a truth value, ie any nonzero value means key
pressed, zero value means key released. The input code generates events only
in case the value is different from before.