[PATCH libevdev 3/4] doc: include linux/input.h verbatim in the documentation

Peter Hutterer peter.hutterer at who-t.net
Tue Mar 11 17:45:01 PDT 2014


This makes it easier to look up what specific version libevdev was compiled
against.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 doc/libevdev.doxygen.in | 2 +-
 libevdev/libevdev.h     | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

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 5dfe026..d5c7515 100644
--- a/libevdev/libevdev.h
+++ b/libevdev/libevdev.h
@@ -469,6 +469,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.
-- 
1.8.5.3



More information about the Input-tools mailing list