libinput.h
Go to the documentation of this file.
5369 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:728
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:5549
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)
enum libinput_config_status libinput_device_config_dwtp_set_enabled(struct libinput_device *device, enum libinput_config_dwtp_state enable)
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:5694
@ LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE
An adaptive acceleration profile.
Definition: libinput.h:5227
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:320
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)
@ LIBINPUT_EVENT_POINTER_AXIS
A scroll event from various sources.
Definition: libinput.h:780
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:4539
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:3513
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:833
@ LIBINPUT_EVENT_DEVICE_ADDED
Signals that a device has been added to the context.
Definition: libinput.h:738
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:5221
@ LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_DISABLED
Definition: libinput.h:5873
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:5466
@ LIBINPUT_EVENT_DEVICE_REMOVED
Signals that a device has been removed.
Definition: libinput.h:744
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:276
@ LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN
Definition: libinput.h:377
int libinput_tablet_tool_has_slider(struct libinput_tablet_tool *tool)
double libinput_event_gesture_get_dx_unaccelerated(struct libinput_event_gesture *event)
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:4822
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:5559
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:906
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)
@ LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS
A scroll event from a continuous scroll source, e.g.
Definition: libinput.h:823
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:4748
int libinput_device_config_dwtp_is_available(struct libinput_device *device)
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:5689
Definition: libinput.h:159
@ LIBINPUT_TABLET_TOOL_TYPE_MOUSE
A mouse bound to the tablet.
Definition: libinput.h:352
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:5038
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:5684
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:354
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:4753
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:704
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:5018
Definition: libinput.h:108
enum libinput_config_dwtp_state libinput_device_config_dwtp_get_enabled(struct libinput_device *device)
struct libinput * libinput_event_get_context(struct libinput_event *event)
@ LIBINPUT_CONFIG_STATUS_INVALID
Invalid parameter range.
Definition: libinput.h:4541
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:4560
void(* close_restricted)(int fd, void *user_data)
Close the file descriptor.
Definition: libinput.h:3521
@ LIBINPUT_CONFIG_MIDDLE_EMULATION_DISABLED
Middle mouse button emulation is to be disabled, or is currently disabled.
Definition: libinput.h:5554
struct libinput_seat * libinput_device_get_seat(struct libinput_device *device)
double libinput_event_pointer_get_scroll_value(struct libinput_event_pointer *event, enum libinput_pointer_axis axis)
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:286
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:5872
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:941
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:3844
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:351
@ LIBINPUT_CONFIG_TAP_MAP_LRM
1/2/3 finger tap maps to left/right/middle
Definition: libinput.h:4651
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:5458
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:969
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
enum libinput_config_dwtp_state libinput_device_config_dwtp_get_default_enabled(struct libinput_device *device)
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:4653
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:854
int libinput_device_config_tap_get_finger_count(struct libinput_device *device)
@ LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE
Definition: libinput.h:749
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:315
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:298
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:948
@ LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
Use software-button areas to generate button events.
Definition: libinput.h:5462
@ LIBINPUT_EVENT_POINTER_SCROLL_WHEEL
A scroll event from a wheel.
Definition: libinput.h:794
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)
double libinput_event_pointer_get_scroll_value_v120(struct libinput_event_pointer *event, enum libinput_pointer_axis axis)
@ LIBINPUT_CONFIG_STATUS_SUCCESS
Config applied successfully.
Definition: libinput.h:4538
@ LIBINPUT_POINTER_AXIS_SOURCE_FINGER
The event is caused by the movement of one or more fingers on a device.
Definition: libinput.h:272
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)
@ LIBINPUT_EVENT_POINTER_SCROLL_FINGER
A scroll event caused by the movement of one or more fingers on a device.
Definition: libinput.h:808
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:376
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:303
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:4562
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:3501
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:267
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)
enum libinput_config_status libinput_device_config_accel_set_profile(struct libinput_device *device, enum libinput_config_accel_profile profile)
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:3865
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:688
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:924
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:4820
@ LIBINPUT_TABLET_TOOL_TYPE_LENS
A mouse tool with a lens.
Definition: libinput.h:353
@ LIBINPUT_CONFIG_SEND_EVENTS_DISABLED
Do not send events through this device.
Definition: libinput.h:5032
@ LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_ENABLED
Definition: libinput.h:5874
@ LIBINPUT_TABLET_TOOL_TYPE_BRUSH
A paintbrush-like tool.
Definition: libinput.h:348
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:346
@ 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:956
libinput_tablet_pad_strip_axis_source
Definition: libinput.h:314
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:5679
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:5213
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:349
@ 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:881