From 4d975f9317f726f5c40b63dd2b7f7ffd64c11a80 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 11 Mar 2014 10:56:10 +1000 Subject: [PATCH] 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 Reviewed-by: Benjamin Tissoires --- 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 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. -- 2.7.4