summaryrefslogtreecommitdiff
path: root/libevdev/libevdev-uinput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-12-24 09:10:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-12-24 09:13:23 +1000
commit590291513bb07719c857b5a657b6059aae5a39fe (patch)
tree8853a04b353a5e9ac685f0ef886cda37a0867457 /libevdev/libevdev-uinput.h
parent7da329b4d41471af9278cdcffcccc2c18bd949fd (diff)
downloadlibevdev-590291513bb07719c857b5a657b6059aae5a39fe.tar.gz
Add more cross-references
doxygen doesn't detect enum cross-references automatically, prefix them with @ref Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev-uinput.h')
-rw-r--r--libevdev/libevdev-uinput.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libevdev/libevdev-uinput.h b/libevdev/libevdev-uinput.h
index 0070785..7c00a1a 100644
--- a/libevdev/libevdev-uinput.h
+++ b/libevdev/libevdev-uinput.h
@@ -114,7 +114,7 @@ enum libevdev_uinput_open_mode {
* will be an exact copy of the libevdev device, minus the bits that uinput doesn't
* allow to be set.
*
- * If uinput_fd is LIBEVDEV_UINPUT_OPEN_MANAGED, libevdev_uinput_create_from_device()
+ * If uinput_fd is @ref LIBEVDEV_UINPUT_OPEN_MANAGED, libevdev_uinput_create_from_device()
* will open @c /dev/uinput in read/write mode and manage the file descriptor.
* Otherwise, uinput_fd must be opened by the caller and opened with the
* appropriate permissions.
@@ -133,7 +133,7 @@ enum libevdev_uinput_open_mode {
* source device.
*
* @param dev The device to duplicate
- * @param uinput_fd LIBEVDEV_UINPUT_OPEN_MANAGED or a file descriptor to @c /dev/uinput,
+ * @param uinput_fd @ref LIBEVDEV_UINPUT_OPEN_MANAGED or a file descriptor to @c /dev/uinput,
* @param[out] uinput_dev The newly created libevdev device.
*
* @return 0 on success or a negative errno on failure. On failure, the value of
@@ -150,9 +150,9 @@ int libevdev_uinput_create_from_device(const struct libevdev *dev,
*
* Destroy a previously created uinput device and free associated memory.
*
- * If the device was opened with LIBEVDEV_UINPUT_OPEN_MANAGED, libevdev_uinput_destroy()
- * also closes the file descriptor. Otherwise, the fd is left as-is and
- * must be closed by the caller.
+ * If the device was opened with @ref LIBEVDEV_UINPUT_OPEN_MANAGED,
+ * libevdev_uinput_destroy() also closes the file descriptor. Otherwise, the
+ * fd is left as-is and must be closed by the caller.
*
* @param uinput_dev A previously created uinput device.
*