summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-03-11 10:56:10 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-03-14 09:38:18 +1000
commit4d975f9317f726f5c40b63dd2b7f7ffd64c11a80 (patch)
tree92675ff3e910a4fa8786115a148e2890ba3579f3
parentfb480e7d8fc6450b59da68e06f9f9b79932ece0b (diff)
downloadlibevdev-4d975f9317f726f5c40b63dd2b7f7ffd64c11a80.tar.gz
doc: include linux/input.h verbatim in the documentation
This makes it easier to look up what specific version libevdev was compiled against. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-rw-r--r--doc/libevdev.doxygen.in2
-rw-r--r--libevdev/libevdev.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/libevdev.doxygen.in b/doc/libevdev.doxygen.in
index 38d7662..b46a4d7 100644
--- a/doc/libevdev.doxygen.in
+++ b/doc/libevdev.doxygen.in
@@ -713,7 +713,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH =
+EXAMPLE_PATH = @top_srcdir@/include
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h
index 62fc15f..2b4cd9b 100644
--- a/libevdev/libevdev.h
+++ b/libevdev/libevdev.h
@@ -471,6 +471,15 @@ extern "C" {
*/
/**
+ * @page kernel_header Kernel header
+ *
+ * libevdev provides its own copy of the Linux kernel header file and
+ * compiles against the definitions define here. Event type and event code
+ * names, etc. are taken from the file below:
+ * @include linux/input.h
+ */
+
+/**
* @defgroup init Initialization and setup
*
* Initialization, initial setup and file descriptor handling.