Document the LIBINPUT_EVENT_NONE event type
authorJonas Ådahl <jadahl@gmail.com>
Sat, 25 Jan 2014 10:52:33 +0000 (11:52 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 26 Jan 2014 17:31:13 +0000 (18:31 +0100)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/libinput.h

index af1614e94bd1afc0e4c7a9d160baeb99f0c8dd93..ddaeb738891b07f7b6a17168534189d039533f40 100644 (file)
@@ -119,6 +119,11 @@ enum libinput_touch_type {
  * Event type for events returned by libinput_get_event().
  */
 enum libinput_event_type {
+       /**
+        * This is not a real event type, and is only used to tell the user that
+        * no new event is available in the queue. See
+        * libinput_next_event_type().
+        */
        LIBINPUT_EVENT_NONE = 0,
 
        /**