Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -174,8 +174,8 @@ It's reported to the input system via:


	input_report_key(struct input_dev *dev, int code, int value)
	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).
See uapi/linux/input-event-codes.h for the allowable values of code (from 0 to
Value is interpreted as a truth value, ie any nonzero value means key
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
pressed, zero value means key released. The input code generates events only
in case the value is different from before.
in case the value is different from before.