diff options
Diffstat (limited to 'Documentation/input/input-programming.rst')
-rw-r--r-- | Documentation/input/input-programming.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/input/input-programming.rst b/Documentation/input/input-programming.rst index 57dbab652cfa..45a4c6e05e39 100644 --- a/Documentation/input/input-programming.rst +++ b/Documentation/input/input-programming.rst @@ -172,8 +172,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. |