doc: update reference to the event codes header
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 Sep 2019 05:07:02 +0000 (15:07 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 Sep 2019 05:16:45 +0000 (15:16 +1000)
The codes have been in input-event-codes.h for quite a few releases now.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput.h

index bde76f8..c24d81a 100644 (file)
@@ -4041,7 +4041,7 @@ libinput_device_get_size(struct libinput_device *device,
  * @ingroup device
  *
  * Check if a @ref LIBINPUT_DEVICE_CAP_POINTER device has a button with the
- * given code (see linux/input.h).
+ * given code (see linux/input-event-codes.h).
  *
  * @param device A current input device
  * @param code Button code to check for, e.g. <i>BTN_LEFT</i>
@@ -4056,7 +4056,7 @@ libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code
  * @ingroup device
  *
  * Check if a @ref LIBINPUT_DEVICE_CAP_KEYBOARD device has a key with the
- * given code (see linux/input.h).
+ * given code (see linux/input-event-codes.h).
  *
  * @param device A current input device
  * @param code Key code to check for, e.g. <i>KEY_ESC</i>