Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598579

[PATCH 2/4] Documentation: input: fix path to input code defnitions

From Martin Kepplinger <martink@posteo.de>
Newsgroups linux.kernel
Subject [PATCH 2/4] Documentation: input: fix path to input code defnitions
Date 2017-03-12 13:00 +0100
Message-ID <tkakh-Zu-9@gated-at.bofh.it> (permalink)
References <tkakh-Zu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The UAPI header split failed to update the documentation in
input-programming.txt; fix things accordingly.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
 Documentation/input/input-programming.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/input/input-programming.txt b/Documentation/input/input-programming.txt
index 7f8b9d9..c3b940b 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.
 
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
  [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
  [PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
  [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
  Re: [PATCH 1/4] Documentation: hid: fix path to input bus  definitions Jonathan Corbet <corbet@lwn.net> - 2017-03-14 00:20 +0100

csiph-web