* [PATCH 1/4] Documentation: hid: fix path to input bus definitions
@ 2017-03-12 11:54 Martin Kepplinger
2017-03-12 11:54 ` [PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Martin Kepplinger @ 2017-03-12 11:54 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things
accordingly.
Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
Documentation/hid/hidraw.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/hid/hidraw.txt b/Documentation/hid/hidraw.txt
index 029e6cb..c8436e3 100644
--- a/Documentation/hid/hidraw.txt
+++ b/Documentation/hid/hidraw.txt
@@ -81,7 +81,7 @@ of:
BUS_HIL
BUS_BLUETOOTH
BUS_VIRTUAL
-which are defined in linux/input.h.
+which are defined in uapi/linux/input.h.
HIDIOCGRAWNAME(len): Get Raw Name
This ioctl returns a string containing the vendor and product strings of
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/4] Documentation: input: fix path to input code defnitions
2017-03-12 11:54 [PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger
@ 2017-03-12 11:54 ` Martin Kepplinger
2017-03-12 11:54 ` [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions Martin Kepplinger
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kepplinger @ 2017-03-12 11:54 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Martin Kepplinger
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions
2017-03-12 11:54 [PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger
@ 2017-03-12 11:54 ` Martin Kepplinger
2017-03-12 11:54 ` [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition Martin Kepplinger
2017-03-13 23:19 ` [PATCH 1/4] Documentation: hid: fix path to input bus definitions Jonathan Corbet
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kepplinger @ 2017-03-12 11:54 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things
accordingly.
Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
Documentation/admin-guide/sysrq.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/sysrq.rst b/Documentation/admin-guide/sysrq.rst
index d1712ea..7b9035c 100644
--- a/Documentation/admin-guide/sysrq.rst
+++ b/Documentation/admin-guide/sysrq.rst
@@ -212,7 +212,8 @@ I hit SysRq, but nothing seems to happen, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are some keyboards that produce a different keycode for SysRq than the
-pre-defined value of 99 (see ``KEY_SYSRQ`` in ``include/linux/input.h``), or
+pre-defined value of 99
+(see ``KEY_SYSRQ`` in ``include/uapi/linux/input-event-codes.h``), or
which don't have a SysRq key at all. In these cases, run ``showkey -s`` to find
an appropriate scancode sequence, and use ``setkeycodes <sequence> 99`` to map
this sequence to the usual SysRq code (e.g., ``setkeycodes e05b 99``). It's
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition
2017-03-12 11:54 [PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions Martin Kepplinger
@ 2017-03-12 11:54 ` Martin Kepplinger
2017-03-13 23:19 ` [PATCH 1/4] Documentation: hid: fix path to input bus definitions Jonathan Corbet
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kepplinger @ 2017-03-12 11:54 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things
accordingly.
Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
Documentation/input/ff.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt
index b3867bf..be742ee 100644
--- a/Documentation/input/ff.txt
+++ b/Documentation/input/ff.txt
@@ -106,9 +106,9 @@ allocate a new effect.
Effects are file descriptor specific.
-See <linux/input.h> for a description of the ff_effect struct. You should also
-find help in a few sketches, contained in files shape.fig and interactive.fig.
-You need xfig to visualize these files.
+See <uapi/linux/input.h> for a description of the ff_effect struct. You should
+also find help in a few sketches, contained in files shape.fig and
+interactive.fig. You need xfig to visualize these files.
3.3 Removing an effect from the device
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] Documentation: hid: fix path to input bus definitions
2017-03-12 11:54 [PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger
` (2 preceding siblings ...)
2017-03-12 11:54 ` [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition Martin Kepplinger
@ 2017-03-13 23:19 ` Jonathan Corbet
3 siblings, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2017-03-13 23:19 UTC (permalink / raw)
To: Martin Kepplinger; +Cc: linux-doc, linux-kernel
On Sun, 12 Mar 2017 12:54:21 +0100
Martin Kepplinger <martink@posteo.de> wrote:
> The UAPI header split failed to update the documentation here; fix things
> accordingly.
I've applied all four to the docs tree, thanks.
jon
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-13 23:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 11:54 [PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions Martin Kepplinger
2017-03-12 11:54 ` [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition Martin Kepplinger
2017-03-13 23:19 ` [PATCH 1/4] Documentation: hid: fix path to input bus definitions Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®