libinput.h
Go to the documentation of this file.
5175 libinput_device_config_scroll_get_default_natural_scroll_enabled(struct libinput_device *device);
@ LIBINPUT_EVENT_NONE
This is not a real event type, and is only used to tell the user that no new event is available in th...
Definition: libinput.h:718
enum libinput_config_status libinput_device_config_scroll_set_button(struct libinput_device *device, uint32_t button)
struct libinput_event * libinput_event_device_notify_get_base_event(struct libinput_event_device_notify *event)
libinput_config_middle_emulation_state
Definition: libinput.h:5355
double libinput_event_gesture_get_angle_delta(struct libinput_event_gesture *event)
int libinput_device_keyboard_has_key(struct libinput_device *device, uint32_t code)
int libinput_event_tablet_tool_distance_has_changed(struct libinput_event_tablet_tool *event)
uint64_t libinput_event_keyboard_get_time_usec(struct libinput_event_keyboard *event)
enum libinput_tablet_tool_proximity_state libinput_event_tablet_tool_get_proximity_state(struct libinput_event_tablet_tool *event)
struct libinput * libinput_seat_get_context(struct libinput_seat *seat)
struct libinput_event * libinput_event_pointer_get_base_event(struct libinput_event_pointer *event)
int libinput_event_tablet_tool_size_minor_has_changed(struct libinput_event_tablet_tool *event)
uint32_t libinput_event_keyboard_get_seat_key_count(struct libinput_event_keyboard *event)
@ LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN
Send scroll events when a button is down and the device moves along a scroll-capable axis.
Definition: libinput.h:5500
@ LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE
An adaptive acceleration profile.
Definition: libinput.h:5033
enum libinput_config_accel_profile libinput_device_config_accel_get_default_profile(struct libinput_device *device)
unsigned int libinput_tablet_pad_mode_group_get_mode(struct libinput_tablet_pad_mode_group *group)
struct libinput_event * libinput_event_gesture_get_base_event(struct libinput_event_gesture *event)
uint64_t libinput_event_tablet_tool_get_time_usec(struct libinput_event_tablet_tool *event)
struct libinput_event_touch * libinput_event_get_touch_event(struct libinput_event *event)
enum libinput_config_tap_state libinput_device_config_tap_get_default_enabled(struct libinput_device *device)
int libinput_device_switch_has_switch(struct libinput_device *device, enum libinput_switch sw)
Definition: libinput.h:48
int32_t libinput_event_touch_get_slot(struct libinput_event_touch *event)
uint32_t libinput_event_tablet_tool_get_seat_button_count(struct libinput_event_tablet_tool *event)
int libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code)
@ LIBINPUT_TABLET_PAD_STRIP_SOURCE_FINGER
The event is caused by the movement of one or more fingers on the strip.
Definition: libinput.h:310
enum libinput_config_status libinput_device_config_tap_set_enabled(struct libinput_device *device, enum libinput_config_tap_state enable)
int libinput_tablet_tool_has_button(struct libinput_tablet_tool *tool, uint32_t code)
unsigned int libinput_tablet_pad_mode_group_get_index(struct libinput_tablet_pad_mode_group *group)
int libinput_device_config_calibration_get_matrix(struct libinput_device *device, float matrix[6])
int libinput_device_tablet_pad_get_num_rings(struct libinput_device *device)
double libinput_event_gesture_get_scale(struct libinput_event_gesture *event)
int libinput_tablet_tool_has_wheel(struct libinput_tablet_tool *tool)
Definition: libinput.h:133
enum libinput_key_state libinput_event_keyboard_get_key_state(struct libinput_event_keyboard *event)
uint32_t libinput_event_pointer_get_button(struct libinput_event_pointer *event)
enum libinput_config_scroll_method libinput_device_config_scroll_get_default_method(struct libinput_device *device)
struct udev_device * libinput_device_get_udev_device(struct libinput_device *device)
struct libinput_seat * libinput_seat_ref(struct libinput_seat *seat)
struct libinput_event * libinput_event_switch_get_base_event(struct libinput_event_switch *event)
enum libinput_config_dwt_state libinput_device_config_dwt_get_default_enabled(struct libinput_device *device)
enum libinput_config_tap_state libinput_device_config_tap_get_enabled(struct libinput_device *device)
uint64_t libinput_event_touch_get_time_usec(struct libinput_event_touch *event)
enum libinput_config_middle_emulation_state libinput_device_config_middle_emulation_get_default_enabled(struct libinput_device *device)
unsigned int libinput_device_config_rotation_get_angle(struct libinput_device *device)
struct libinput_tablet_tool * libinput_tablet_tool_ref(struct libinput_tablet_tool *tool)
enum libinput_config_click_method libinput_device_config_click_get_method(struct libinput_device *device)
enum libinput_config_status libinput_device_config_scroll_set_natural_scroll_enabled(struct libinput_device *device, int enable)
double libinput_event_tablet_tool_get_dx(struct libinput_event_tablet_tool *event)
double libinput_event_tablet_tool_get_tilt_y(struct libinput_event_tablet_tool *event)
struct libinput_event_pointer * libinput_event_get_pointer_event(struct libinput_event *event)
@ LIBINPUT_CONFIG_STATUS_UNSUPPORTED
Configuration not available on this device.
Definition: libinput.h:4344
double libinput_event_tablet_tool_get_size_minor(struct libinput_event_tablet_tool *event)
enum libinput_config_status libinput_device_config_accel_set_speed(struct libinput_device *device, double speed)
int(* open_restricted)(const char *path, int flags, void *user_data)
Open the device at the given path with the flags provided and return the fd.
Definition: libinput.h:3318
struct libinput_device_group * libinput_device_group_unref(struct libinput_device_group *group)
int libinput_device_tablet_pad_has_key(struct libinput_device *device, uint32_t code)
@ LIBINPUT_EVENT_TOUCH_FRAME
Signals the end of a set of touchpoints at one device sample time.
Definition: libinput.h:751
@ LIBINPUT_EVENT_DEVICE_ADDED
Signals that a device has been added to the context.
Definition: libinput.h:728
enum libinput_config_tap_button_map libinput_device_config_tap_get_default_button_map(struct libinput_device *device)
double libinput_event_pointer_get_axis_value(struct libinput_event_pointer *event, enum libinput_pointer_axis axis)
unsigned int libinput_tablet_pad_mode_group_get_num_modes(struct libinput_tablet_pad_mode_group *group)
enum libinput_config_status libinput_device_config_tap_set_button_map(struct libinput_device *device, enum libinput_config_tap_button_map map)
struct libinput_device * libinput_device_ref(struct libinput_device *device)
const char * libinput_device_get_output_name(struct libinput_device *device)
double libinput_event_pointer_get_dy(struct libinput_event_pointer *event)
@ LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT
A flat acceleration profile.
Definition: libinput.h:5027
@ LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_DISABLED
Definition: libinput.h:5679
double libinput_event_gesture_get_dy_unaccelerated(struct libinput_event_gesture *event)
@ LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER
The number of fingers decides which button press to generate.
Definition: libinput.h:5272
@ LIBINPUT_EVENT_DEVICE_REMOVED
Signals that a device has been removed.
Definition: libinput.h:734
double libinput_event_touch_get_x(struct libinput_event_touch *event)
void * libinput_tablet_pad_mode_group_get_user_data(struct libinput_tablet_pad_mode_group *group)
int libinput_event_gesture_get_finger_count(struct libinput_event_gesture *event)
int libinput_tablet_tool_has_rotation(struct libinput_tablet_tool *tool)
enum libinput_config_status libinput_device_config_scroll_set_method(struct libinput_device *device, enum libinput_config_scroll_method method)
uint32_t libinput_event_tablet_tool_get_button(struct libinput_event_tablet_tool *event)
@ LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS
The event is caused by the motion of some device.
Definition: libinput.h:270
@ LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN
Definition: libinput.h:367
int libinput_tablet_tool_has_slider(struct libinput_tablet_tool *tool)
double libinput_event_gesture_get_dx_unaccelerated(struct libinput_event_gesture *event)
enum libinput_config_status libinput_device_config_accel_set_profile(struct libinput_device *device, enum libinput_config_accel_profile mode)
double libinput_event_tablet_pad_get_ring_position(struct libinput_event_tablet_pad *event)
unsigned int libinput_device_get_id_vendor(struct libinput_device *device)
struct libinput_device_group * libinput_device_get_device_group(struct libinput_device *device)
@ LIBINPUT_CONFIG_DRAG_LOCK_ENABLED
Drag lock is to be enabled, or is currently disabled.
Definition: libinput.h:4628
int libinput_tablet_tool_has_size(struct libinput_tablet_tool *tool)
@ LIBINPUT_CONFIG_MIDDLE_EMULATION_ENABLED
Middle mouse button emulation is to be enabled, or is currently enabled.
Definition: libinput.h:5365
enum libinput_key_state libinput_event_tablet_pad_get_key_state(struct libinput_event_tablet_pad *event)
uint32_t libinput_device_config_scroll_get_default_button(struct libinput_device *device)
enum libinput_button_state libinput_event_tablet_pad_get_button_state(struct libinput_event_tablet_pad *event)
double libinput_event_tablet_tool_get_x(struct libinput_event_tablet_tool *event)
int libinput_tablet_tool_has_distance(struct libinput_tablet_tool *tool)
@ LIBINPUT_EVENT_TABLET_TOOL_TIP
Signals that a tool has come in contact with the surface of a device with the LIBINPUT_DEVICE_CAP_TAB...
Definition: libinput.h:824
enum libinput_config_tap_button_map libinput_device_config_tap_get_button_map(struct libinput_device *device)
int libinput_event_tablet_tool_slider_has_changed(struct libinput_event_tablet_tool *event)
struct libinput_tablet_pad_mode_group * libinput_device_tablet_pad_get_mode_group(struct libinput_device *device, unsigned int index)
enum libinput_switch_state libinput_event_switch_get_switch_state(struct libinput_event_switch *event)
double libinput_event_pointer_get_dx(struct libinput_event_pointer *event)
enum libinput_config_drag_state libinput_device_config_tap_get_default_drag_enabled(struct libinput_device *device)
uint32_t libinput_event_gesture_get_time(struct libinput_event_gesture *event)
int libinput_event_tablet_tool_size_major_has_changed(struct libinput_event_tablet_tool *event)
double libinput_event_tablet_tool_get_size_major(struct libinput_event_tablet_tool *event)
double libinput_event_pointer_get_absolute_y_transformed(struct libinput_event_pointer *event, uint32_t height)
void libinput_path_remove_device(struct libinput_device *device)
void libinput_suspend(struct libinput *libinput)
uint32_t libinput_device_config_scroll_get_button(struct libinput_device *device)
struct libinput * libinput_path_create_context(const struct libinput_interface *interface, void *user_data)
struct libinput_tablet_pad_mode_group * libinput_tablet_pad_mode_group_ref(struct libinput_tablet_pad_mode_group *group)
@ LIBINPUT_CONFIG_DRAG_DISABLED
Drag is to be disabled, or is currently disabled.
Definition: libinput.h:4553
void libinput_set_user_data(struct libinput *libinput, void *user_data)
@ LIBINPUT_CONFIG_SCROLL_EDGE
Send scroll events when a finger moves along the bottom or right edge of a device.
Definition: libinput.h:5495
Definition: libinput.h:159
@ LIBINPUT_TABLET_TOOL_TYPE_MOUSE
A mouse bound to the tablet.
Definition: libinput.h:342
enum libinput_switch libinput_event_switch_get_switch(struct libinput_event_switch *event)
int libinput_udev_assign_seat(struct libinput *libinput, const char *seat_id)
void libinput_tablet_pad_mode_group_set_user_data(struct libinput_tablet_pad_mode_group *group, void *user_data)
struct libinput_event_gesture * libinput_event_get_gesture_event(struct libinput_event *event)
int libinput_dispatch(struct libinput *libinput)
struct libinput_tablet_pad_mode_group * libinput_tablet_pad_mode_group_unref(struct libinput_tablet_pad_mode_group *group)
uint32_t libinput_event_pointer_get_seat_button_count(struct libinput_event_pointer *event)
double libinput_event_touch_get_y(struct libinput_event_touch *event)
@ LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE
If an external pointer device is plugged in, do not send events from this device.
Definition: libinput.h:4844
enum libinput_pointer_axis_source libinput_event_pointer_get_axis_source(struct libinput_event_pointer *event)
enum libinput_tablet_pad_ring_axis_source libinput_event_tablet_pad_get_ring_source(struct libinput_event_tablet_pad *event)
int libinput_tablet_tool_has_tilt(struct libinput_tablet_tool *tool)
@ LIBINPUT_CONFIG_SCROLL_2FG
Send scroll events when two fingers are logically down on the device.
Definition: libinput.h:5490
enum libinput_config_status libinput_device_config_tap_set_drag_enabled(struct libinput_device *device, enum libinput_config_drag_state enable)
enum libinput_config_dwt_state libinput_device_config_dwt_get_enabled(struct libinput_device *device)
void * libinput_tablet_tool_get_user_data(struct libinput_tablet_tool *tool)
const char * libinput_seat_get_logical_name(struct libinput_seat *seat)
@ LIBINPUT_TABLET_TOOL_TYPE_TOTEM
A rotary device with positional and rotation data.
Definition: libinput.h:344
struct libinput_event * libinput_event_tablet_pad_get_base_event(struct libinput_event_tablet_pad *event)
enum libinput_config_status libinput_device_config_rotation_set_angle(struct libinput_device *device, unsigned int degrees_cw)
double libinput_event_pointer_get_absolute_x(struct libinput_event_pointer *event)
@ LIBINPUT_CONFIG_DRAG_ENABLED
Drag is to be enabled, or is currently enabled.
Definition: libinput.h:4558
struct libinput_event * libinput_event_touch_get_base_event(struct libinput_event_touch *event)
@ LIBINPUT_SWITCH_TABLET_MODE
This switch indicates whether the device is in normal laptop mode or behaves like a tablet-like devic...
Definition: libinput.h:694
double libinput_event_pointer_get_axis_value_discrete(struct libinput_event_pointer *event, enum libinput_pointer_axis axis)
@ LIBINPUT_CONFIG_SEND_EVENTS_ENABLED
Send events from this device normally.
Definition: libinput.h:4824
Definition: libinput.h:108
struct libinput * libinput_event_get_context(struct libinput_event *event)
@ LIBINPUT_CONFIG_STATUS_INVALID
Invalid parameter range.
Definition: libinput.h:4346
void * libinput_device_get_user_data(struct libinput_device *device)
@ LIBINPUT_CONFIG_TAP_DISABLED
Tapping is to be disabled, or is currently disabled.
Definition: libinput.h:4365
void(* close_restricted)(int fd, void *user_data)
Close the file descriptor.
Definition: libinput.h:3326
@ LIBINPUT_CONFIG_MIDDLE_EMULATION_DISABLED
Middle mouse button emulation is to be disabled, or is currently disabled.
Definition: libinput.h:5360
struct libinput_seat * libinput_device_get_seat(struct libinput_device *device)
const char * libinput_device_get_name(struct libinput_device *device)
uint64_t libinput_event_switch_get_time_usec(struct libinput_event_switch *event)
int libinput_event_pointer_has_axis(struct libinput_event_pointer *event, enum libinput_pointer_axis axis)
int libinput_event_tablet_tool_pressure_has_changed(struct libinput_event_tablet_tool *event)
@ LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL
Definition: libinput.h:247
int libinput_device_config_middle_emulation_is_available(struct libinput_device *device)
Definition: libinput.h:145
@ LIBINPUT_POINTER_AXIS_SOURCE_WHEEL_TILT
The event is caused by the tilting of a mouse wheel rather than its rotation.
Definition: libinput.h:276
void libinput_device_group_set_user_data(struct libinput_device_group *group, void *user_data)
Definition: libinput.h:96
double libinput_event_tablet_tool_get_rotation(struct libinput_event_tablet_tool *event)
libinput_config_scroll_button_lock_state
Definition: libinput.h:5678
uint32_t libinput_device_config_send_events_get_mode(struct libinput_device *device)
unsigned int libinput_event_tablet_pad_get_mode(struct libinput_event_tablet_pad *event)
@ LIBINPUT_EVENT_TABLET_PAD_BUTTON
A button pressed on a device with the LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
Definition: libinput.h:859
uint64_t libinput_tablet_tool_get_tool_id(struct libinput_tablet_tool *tool)
enum libinput_config_drag_lock_state libinput_device_config_tap_get_default_drag_lock_enabled(struct libinput_device *device)
enum libinput_tablet_pad_strip_axis_source libinput_event_tablet_pad_get_strip_source(struct libinput_event_tablet_pad *event)
void libinput_log_set_priority(struct libinput *libinput, enum libinput_log_priority priority)
int libinput_event_tablet_tool_y_has_changed(struct libinput_event_tablet_tool *event)
struct libinput_device * libinput_device_unref(struct libinput_device *device)
double libinput_device_config_accel_get_default_speed(struct libinput_device *device)
void(* libinput_log_handler)(struct libinput *libinput, enum libinput_log_priority priority, const char *format, va_list args) LIBINPUT_ATTRIBUTE_PRINTF(3
Definition: libinput.h:3649
double libinput_event_gesture_get_dy(struct libinput_event_gesture *event)
int libinput_device_touch_get_touch_count(struct libinput_device *device)
int32_t libinput_event_touch_get_seat_slot(struct libinput_event_touch *event)
enum libinput_config_status libinput_device_config_send_events_set_mode(struct libinput_device *device, uint32_t mode)
@ LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH
An airbrush-like tool.
Definition: libinput.h:341
@ LIBINPUT_CONFIG_TAP_MAP_LRM
1/2/3 finger tap maps to left/right/middle
Definition: libinput.h:4456
double libinput_event_pointer_get_absolute_y(struct libinput_event_pointer *event)
struct libinput_event_device_notify * libinput_event_get_device_notify_event(struct libinput_event *event)
@ LIBINPUT_CONFIG_CLICK_METHOD_NONE
Do not send software-emulated button events.
Definition: libinput.h:5264
struct libinput_device * libinput_path_add_device(struct libinput *libinput, const char *path)
@ LIBINPUT_EVENT_TABLET_PAD_KEY
A key pressed on a device with the LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
Definition: libinput.h:887
int libinput_device_config_accel_is_available(struct libinput_device *device)
int libinput_device_tablet_pad_get_num_strips(struct libinput_device *device)
Definition: libinput.h:124
double libinput_event_tablet_tool_get_distance(struct libinput_event_tablet_tool *event)
struct libinput_event_keyboard * libinput_event_get_keyboard_event(struct libinput_event *event)
int libinput_event_gesture_get_cancelled(struct libinput_event_gesture *event)
int libinput_device_config_left_handed_is_available(struct libinput_device *device)
int libinput_device_tablet_pad_get_num_buttons(struct libinput_device *device)
unsigned int libinput_event_tablet_pad_get_ring_number(struct libinput_event_tablet_pad *event)
int libinput_device_config_calibration_has_matrix(struct libinput_device *device)
struct libinput * libinput_unref(struct libinput *libinput)
uint32_t libinput_event_keyboard_get_time(struct libinput_event_keyboard *event)
const char * libinput_seat_get_physical_name(struct libinput_seat *seat)
uint32_t libinput_event_tablet_tool_get_time(struct libinput_event_tablet_tool *event)
int libinput_device_config_left_handed_get(struct libinput_device *device)
double libinput_event_tablet_tool_get_y(struct libinput_event_tablet_tool *event)
@ LIBINPUT_CONFIG_TAP_MAP_LMR
1/2/3 finger tap maps to left/middle/right
Definition: libinput.h:4458
struct libinput_event_tablet_tool * libinput_event_get_tablet_tool_event(struct libinput_event *event)
@ LIBINPUT_EVENT_TABLET_TOOL_AXIS
One or more axes have changed state on a device with the LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
Definition: libinput.h:772
int libinput_device_config_tap_get_finger_count(struct libinput_device *device)
@ LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE
Definition: libinput.h:739
uint32_t libinput_event_switch_get_time(struct libinput_event_switch *event)
uint64_t libinput_event_gesture_get_time_usec(struct libinput_event_gesture *event)
enum libinput_tablet_tool_tip_state libinput_event_tablet_tool_get_tip_state(struct libinput_event_tablet_tool *event)
int libinput_event_tablet_tool_get_wheel_delta_discrete(struct libinput_event_tablet_tool *event)
@ LIBINPUT_TABLET_PAD_STRIP_SOURCE_UNKNOWN
Definition: libinput.h:305
uint32_t libinput_device_config_send_events_get_modes(struct libinput_device *device)
enum libinput_config_status libinput_device_config_calibration_set_matrix(struct libinput_device *device, const float matrix[6])
void libinput_device_set_user_data(struct libinput_device *device, void *user_data)
int libinput_device_set_seat_logical_name(struct libinput_device *device, const char *name)
double libinput_event_tablet_tool_get_pressure(struct libinput_event_tablet_tool *event)
void libinput_device_led_update(struct libinput_device *device, enum libinput_led leds)
uint64_t libinput_event_pointer_get_time_usec(struct libinput_event_pointer *event)
double libinput_event_gesture_get_dx(struct libinput_event_gesture *event)
int libinput_event_tablet_tool_rotation_has_changed(struct libinput_event_tablet_tool *event)
@ LIBINPUT_TABLET_PAD_RING_SOURCE_UNKNOWN
Definition: libinput.h:288
struct libinput_event * libinput_event_keyboard_get_base_event(struct libinput_event_keyboard *event)
@ LIBINPUT_EVENT_TABLET_PAD_RING
A status change on a tablet ring with the LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
Definition: libinput.h:866
@ LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
Use software-button areas to generate button events.
Definition: libinput.h:5268
int libinput_get_fd(struct libinput *libinput)
double libinput_event_tablet_pad_get_strip_position(struct libinput_event_tablet_pad *event)
void * libinput_device_group_get_user_data(struct libinput_device_group *group)
@ LIBINPUT_CONFIG_STATUS_SUCCESS
Config applied successfully.
Definition: libinput.h:4343
@ LIBINPUT_POINTER_AXIS_SOURCE_FINGER
The event is caused by the movement of one or more fingers on a device.
Definition: libinput.h:266
enum libinput_config_status libinput_device_config_click_set_method(struct libinput_device *device, enum libinput_config_click_method method)
double libinput_event_tablet_tool_get_x_transformed(struct libinput_event_tablet_tool *event, uint32_t width)
double libinput_event_tablet_tool_get_y_transformed(struct libinput_event_tablet_tool *event, uint32_t height)
double libinput_event_pointer_get_absolute_x_transformed(struct libinput_event_pointer *event, uint32_t width)
Definition: libinput.h:67
@ LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_OUT
Definition: libinput.h:366
double libinput_device_config_accel_get_speed(struct libinput_device *device)
struct libinput_device * libinput_event_get_device(struct libinput_event *event)
@ LIBINPUT_TABLET_PAD_RING_SOURCE_FINGER
The event is caused by the movement of one or more fingers on the ring.
Definition: libinput.h:293
int libinput_tablet_tool_has_pressure(struct libinput_tablet_tool *tool)
@ LIBINPUT_CONFIG_TAP_ENABLED
Tapping is to be enabled, or is currently enabled.
Definition: libinput.h:4367
int libinput_tablet_pad_mode_group_has_ring(struct libinput_tablet_pad_mode_group *group, unsigned int ring)
int libinput_tablet_pad_mode_group_button_is_toggle(struct libinput_tablet_pad_mode_group *group, unsigned int button)
enum libinput_config_click_method libinput_device_config_click_get_default_method(struct libinput_device *device)
Definition: libinput.h:3306
const char * libinput_device_get_sysname(struct libinput_device *device)
double libinput_event_tablet_tool_get_dy(struct libinput_event_tablet_tool *event)
struct libinput_tablet_tool * libinput_tablet_tool_unref(struct libinput_tablet_tool *tool)
int libinput_device_get_size(struct libinput_device *device, double *width, double *height)
Definition: libinput.h:116
enum libinput_button_state libinput_event_pointer_get_button_state(struct libinput_event_pointer *event)
double libinput_event_pointer_get_dx_unaccelerated(struct libinput_event_pointer *event)
uint64_t libinput_tablet_tool_get_serial(struct libinput_tablet_tool *tool)
enum libinput_config_status libinput_device_config_tap_set_drag_lock_enabled(struct libinput_device *device, enum libinput_config_drag_lock_state enable)
int libinput_device_config_calibration_get_default_matrix(struct libinput_device *device, float matrix[6])
int libinput_device_config_dwt_is_available(struct libinput_device *device)
int libinput_tablet_pad_mode_group_has_button(struct libinput_tablet_pad_mode_group *group, unsigned int button)
uint32_t libinput_event_tablet_pad_get_time(struct libinput_event_tablet_pad *event)
uint32_t libinput_event_tablet_pad_get_key(struct libinput_event_tablet_pad *event)
enum libinput_config_middle_emulation_state libinput_device_config_middle_emulation_get_enabled(struct libinput_device *device)
@ LIBINPUT_POINTER_AXIS_SOURCE_WHEEL
The event is caused by the rotation of a wheel.
Definition: libinput.h:261
int libinput_device_config_rotation_is_available(struct libinput_device *device)
int libinput_event_tablet_tool_x_has_changed(struct libinput_event_tablet_tool *event)
const char * libinput_config_status_to_str(enum libinput_config_status status)
uint32_t libinput_device_config_accel_get_profiles(struct libinput_device *device)
unsigned int libinput_device_config_rotation_get_default_angle(struct libinput_device *device)
enum libinput_tablet_tool_type libinput_tablet_tool_get_type(struct libinput_tablet_tool *tool)
enum libinput_config_drag_lock_state libinput_device_config_tap_get_drag_lock_enabled(struct libinput_device *device)
struct libinput_event_switch * libinput_event_get_switch_event(struct libinput_event *event)
void libinput_seat_set_user_data(struct libinput_seat *seat, void *user_data)
int libinput_event_tablet_tool_wheel_has_changed(struct libinput_event_tablet_tool *event)
struct libinput_tablet_tool * libinput_event_tablet_tool_get_tool(struct libinput_event_tablet_tool *event)
int libinput_event_tablet_tool_tilt_x_has_changed(struct libinput_event_tablet_tool *event)
enum libinput_event_type libinput_event_get_type(struct libinput_event *event)
void(*) voi libinput_log_set_handler)(struct libinput *libinput, libinput_log_handler log_handler)
Definition: libinput.h:3670
int libinput_device_config_scroll_get_default_natural_scroll_enabled(struct libinput_device *device)
enum libinput_event_type libinput_next_event_type(struct libinput *libinput)
double libinput_event_tablet_tool_get_slider_position(struct libinput_event_tablet_tool *event)
int libinput_device_tablet_pad_get_num_mode_groups(struct libinput_device *device)
struct libinput_event_tablet_pad * libinput_event_get_tablet_pad_event(struct libinput_event *event)
enum libinput_config_status libinput_device_config_left_handed_set(struct libinput_device *device, int left_handed)
uint32_t libinput_device_config_send_events_get_default_mode(struct libinput_device *device)
double libinput_event_tablet_tool_get_tilt_x(struct libinput_event_tablet_tool *event)
uint32_t libinput_event_tablet_pad_get_button_number(struct libinput_event_tablet_pad *event)
enum libinput_config_status libinput_device_config_dwt_set_enabled(struct libinput_device *device, enum libinput_config_dwt_state enable)
uint32_t libinput_device_config_scroll_get_methods(struct libinput_device *device)
@ LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL
Definition: libinput.h:248
void * libinput_seat_get_user_data(struct libinput_seat *seat)
enum libinput_config_accel_profile libinput_device_config_accel_get_profile(struct libinput_device *device)
int libinput_resume(struct libinput *libinput)
int libinput_device_config_scroll_has_natural_scroll(struct libinput_device *device)
@ LIBINPUT_SWITCH_LID
The laptop lid was closed when the switch state is LIBINPUT_SWITCH_STATE_ON, or was opened when it is...
Definition: libinput.h:678
double libinput_event_pointer_get_dy_unaccelerated(struct libinput_event_pointer *event)
uint32_t libinput_event_keyboard_get_key(struct libinput_event_keyboard *event)
enum libinput_config_scroll_button_lock_state libinput_device_config_scroll_get_default_button_lock(struct libinput_device *device)
void * libinput_get_user_data(struct libinput *libinput)
int libinput_device_has_capability(struct libinput_device *device, enum libinput_device_capability capability)
struct libinput * libinput_udev_create_context(const struct libinput_interface *interface, void *user_data, struct udev *udev)
void libinput_event_destroy(struct libinput_event *event)
enum libinput_button_state libinput_event_tablet_tool_get_button_state(struct libinput_event_tablet_tool *event)
enum libinput_config_status libinput_device_config_middle_emulation_set_enabled(struct libinput_device *device, enum libinput_config_middle_emulation_state enable)
struct libinput_event * libinput_get_event(struct libinput *libinput)
double libinput_event_touch_get_x_transformed(struct libinput_event_touch *event, uint32_t width)
@ LIBINPUT_EVENT_TABLET_TOOL_BUTTON
Signals that a tool has changed a logical button state on a device with the LIBINPUT_DEVICE_CAP_TABLE...
Definition: libinput.h:842
uint32_t libinput_event_touch_get_time(struct libinput_event_touch *event)
@ LIBINPUT_CONFIG_DRAG_LOCK_DISABLED
Drag lock is to be disabled, or is currently disabled.
Definition: libinput.h:4626
@ LIBINPUT_TABLET_TOOL_TYPE_LENS
A mouse tool with a lens.
Definition: libinput.h:343
@ LIBINPUT_CONFIG_SEND_EVENTS_DISABLED
Do not send events through this device.
Definition: libinput.h:4838
@ LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_ENABLED
Definition: libinput.h:5680
@ LIBINPUT_TABLET_TOOL_TYPE_BRUSH
A paintbrush-like tool.
Definition: libinput.h:338
uint64_t libinput_event_tablet_pad_get_time_usec(struct libinput_event_tablet_pad *event)
double libinput_event_touch_get_y_transformed(struct libinput_event_touch *event, uint32_t height)
int libinput_tablet_tool_is_unique(struct libinput_tablet_tool *tool)
struct libinput * libinput_device_get_context(struct libinput_device *device)
int libinput_event_tablet_tool_tilt_y_has_changed(struct libinput_event_tablet_tool *event)
enum libinput_config_status libinput_device_config_scroll_set_button_lock(struct libinput_device *device, enum libinput_config_scroll_button_lock_state state)
@ LIBINPUT_TABLET_TOOL_TYPE_PEN
A generic pen.
Definition: libinput.h:336
@ LIBINPUT_EVENT_TABLET_PAD_STRIP
A status change on a strip on a device with the LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
Definition: libinput.h:874
libinput_tablet_pad_strip_axis_source
Definition: libinput.h:304
uint32_t libinput_device_config_click_get_methods(struct libinput_device *device)
struct libinput_tablet_pad_mode_group * libinput_event_tablet_pad_get_mode_group(struct libinput_event_tablet_pad *event)
Definition: libinput.h:57
int libinput_tablet_pad_mode_group_has_strip(struct libinput_tablet_pad_mode_group *group, unsigned int strip)
struct libinput_event * libinput_event_tablet_tool_get_base_event(struct libinput_event_tablet_tool *event)
unsigned int libinput_event_tablet_pad_get_strip_number(struct libinput_event_tablet_pad *event)
enum libinput_config_scroll_method libinput_device_config_scroll_get_method(struct libinput_device *device)
struct libinput_device_group * libinput_device_group_ref(struct libinput_device_group *group)
unsigned int libinput_device_get_id_product(struct libinput_device *device)
enum libinput_config_drag_state libinput_device_config_tap_get_drag_enabled(struct libinput_device *device)
Definition: libinput.h:76
double libinput_event_tablet_tool_get_wheel_delta(struct libinput_event_tablet_tool *event)
int libinput_device_config_left_handed_get_default(struct libinput_device *device)
struct libinput_seat * libinput_seat_unref(struct libinput_seat *seat)
struct libinput * libinput_ref(struct libinput *libinput)
@ LIBINPUT_CONFIG_SCROLL_NO_SCROLL
Never send scroll events instead of pointer motion events.
Definition: libinput.h:5485
int libinput_device_config_scroll_get_natural_scroll_enabled(struct libinput_device *device)
@ LIBINPUT_CONFIG_ACCEL_PROFILE_NONE
Placeholder for devices that don't have a configurable pointer acceleration profile.
Definition: libinput.h:5019
enum libinput_config_scroll_button_lock_state libinput_device_config_scroll_get_button_lock(struct libinput_device *device)
uint32_t libinput_event_pointer_get_time(struct libinput_event_pointer *event)
void libinput_tablet_tool_set_user_data(struct libinput_tablet_tool *tool, void *user_data)
enum libinput_log_priority libinput_log_get_priority(const struct libinput *libinput)
@ LIBINPUT_TABLET_TOOL_TYPE_PENCIL
Physical drawing tool, e.g.
Definition: libinput.h:339
@ LIBINPUT_EVENT_TABLET_TOOL_PROXIMITY
Signals that a tool has come in or out of proximity of a device with the LIBINPUT_DEVICE_CAP_TABLET_T...
Definition: libinput.h:799