Skip to content
Snippets Groups Projects
Commit 28a5c964 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Jonathan Corbet
Browse files

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: default avatarMartin Kepplinger <martink@posteo.de>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 1e1f780f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment