]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: input: fix path to input code defnitions
authorMartin Kepplinger <martink@posteo.de>
Sun, 12 Mar 2017 11:54:22 +0000 (12:54 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 13 Mar 2017 23:15:24 +0000 (17:15 -0600)
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>
Documentation/input/input-programming.txt

index 7f8b9d97bc47d32359150822eaa16b23acfc13be..c3b940baba423accc3c04b1be8e37d5b7e373f2a 100644 (file)
@@ -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.