/* intentionally -2 to avoid to avoid code like the below from accidentally working:
fd = open("/dev/uinput", O_RDWR); // fails, fd is -1
libevdev_uinput_create_from_device(dev, fd, &uidev); // may hide the error */
- LIBEVDEV_UINPUT_OPEN_MANAGED = -2, /**< let libevdev open and close @c /dev/uinput */
+ LIBEVDEV_UINPUT_OPEN_MANAGED = -2 /**< let libevdev open and close @c /dev/uinput */
};
/**
LIBEVDEV_READ_FLAG_NORMAL = 2, /**< Process data in normal mode */
LIBEVDEV_READ_FLAG_FORCE_SYNC = 4, /**< Pretend the next event is a SYN_DROPPED and
require the caller to sync */
- LIBEVDEV_READ_FLAG_BLOCKING = 8, /**< The fd is not in O_NONBLOCK and a read may block */
-
+ LIBEVDEV_READ_FLAG_BLOCKING = 8 /**< The fd is not in O_NONBLOCK and a read may block */
};
/**
enum libevdev_log_priority {
LIBEVDEV_LOG_ERROR = 10, /**< critical errors and application bugs */
LIBEVDEV_LOG_INFO = 20, /**< informational messages */
- LIBEVDEV_LOG_DEBUG = 30, /**< debug information */
+ LIBEVDEV_LOG_DEBUG = 30 /**< debug information */
};
/**
*/
enum libevdev_grab_mode {
LIBEVDEV_GRAB = 3, /**< Grab the device if not currently grabbed */
- LIBEVDEV_UNGRAB = 4, /**< Ungrab the device if currently grabbed */
+ LIBEVDEV_UNGRAB = 4 /**< Ungrab the device if currently grabbed */
};
/**
*
* @see libevdev_next_event
*/
- LIBEVDEV_READ_STATUS_SYNC = 1,
+ LIBEVDEV_READ_STATUS_SYNC = 1
};
/**
* @ingroup events
*/
enum libevdev_led_value {
LIBEVDEV_LED_ON = 3,
- LIBEVDEV_LED_OFF = 4,
+ LIBEVDEV_LED_OFF = 4
};
/**