summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l2-spec/Makefile8
-rw-r--r--v4l2-spec/remote_controllers.sgml12
2 files changed, 19 insertions, 1 deletions
diff --git a/v4l2-spec/Makefile b/v4l2-spec/Makefile
index 73d48d00d..f593faccd 100644
--- a/v4l2-spec/Makefile
+++ b/v4l2-spec/Makefile
@@ -5,6 +5,7 @@ SHELL=/bin/bash
SGMLS = \
biblio.sgml \
capture.c.sgml \
+ keytable.c.sgml \
v4l2grab.c.sgml \
common.sgml \
compat.sgml \
@@ -359,6 +360,13 @@ v4l2grab.c.sgml: ../v4l2-apps/test/v4l2grab.c Makefile
sed 's/i\.e\./&ie;/' >> $@
echo "</programlisting>" >> $@
+keytable.c.sgml: ../v4l2-apps/util/keytable.c Makefile
+ echo "<programlisting>" > $@
+ expand --tabs=8 < $< | \
+ sed $(ESCAPE) $(DOCUMENTED) | \
+ sed 's/i\.e\./&ie;/' >> $@
+ echo "</programlisting>" >> $@
+
videodev2.h.sgml: ../linux/include/linux/videodev2.h Makefile
echo "<programlisting>" > $@
expand --tabs=8 < $< | \
diff --git a/v4l2-spec/remote_controllers.sgml b/v4l2-spec/remote_controllers.sgml
index f0c215b1c..6cbcd5869 100644
--- a/v4l2-spec/remote_controllers.sgml
+++ b/v4l2-spec/remote_controllers.sgml
@@ -157,4 +157,14 @@
</tgroup>
</table>
-</section> \ No newline at end of file
+</section>
+
+<section id="Remote_controllers_table_change">
+<title>Changing default Remote Controller mappings</title>
+<para>The event interface provides two ioctls to be used against
+the /dev/input/event device, to allow changing the default
+keymapping.</para>
+
+<para>This program demonstrates how to replace the keymap tables.</para>
+&sub-keytable-c;
+</section>