An adaptive acceleration profile. Pointer acceleration depends
on the input speed. This is the default profile for most devices.
A flat acceleration profile. Pointer motion is accelerated by a
constant (device-specific) factor, depending on the current
speed.
Placeholder for devices that don’t have a configurable pointer
acceleration profile.
Use software-button areas to generate button events.
The number of fingers decides which button press to generate.
Do not send software-emulated button events. This has no effect
on events generated by physical buttons.
Drag lock is to be disabled, or is currently disabled
Drag lock is to be enabled, or is currently disabled
Drag is to be disabled, or is
currently disabled.
Drag is to be enabled, or is
currently enabled
Middle mouse button emulation is to be disabled, or
is currently disabled.
Middle mouse button emulation is to be enabled, or
is currently enabled.
Send scroll events when two fingers are logically down on the
device.
Send scroll events when a finger moves along the bottom or
right edge of a device.
Never send scroll events instead of pointer motion events.
This has no effect on events generated by scroll wheels.
Send scroll events when a button is down and the device moves
along a scroll-capable axis.
Do not send events through this device. Depending on the device,
this may close all file descriptors on the device or it may leave
the file descriptors open and route events through a different
device.
If an external pointer device is plugged in, do not send events
from this device. This option may be available on built-in
touchpads.
Send events from this device normally. This is a placeholder
mode only, any device detected by libinput can be enabled. Do not
test for this value as bitmask.
< Invalid parameter range
< Config applied successfully
< Configuration not available on
this device
1/2/3 finger tap maps to left/middle/right
1/2/3 finger tap maps to left/right/middle
< Tapping is to be disabled, or is
currently disabled
< Tapping is to be enabled, or is
currently enabled
Signals that a device has been added to the context. The device will
not be read until the next time the user calls libinput_dispatch()
and data is available.
Signals that a device has been removed. No more events from the
associated device will be in the queue or be queued after this event.
@since 1.19
@since 1.19
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
Signals that a device has been removed. No more events from the
associated device will be in the queue or be queued after this event.
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().
A scroll event from various sources.
Signals that a device has been removed. No more events from the
associated device will be in the queue or be queued after this event.
Signals that a device has been removed. No more events from the
associated device will be in the queue or be queued after this event.
Signals that a device has been removed. No more events from the
associated device will be in the queue or be queued after this event.
A scroll event from a continuous scroll source, e.g. button
scrolling. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
A scroll event caused by the movement of one or more fingers on a
device. This event is sent is sent in addition to the @ref
LIBINPUT_EVENT_POINTER_AXIS event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_FINGER. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
A scroll event from a wheel. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_WHEEL. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
@since 1.7
A button pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A key pressed on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A status change on a tablet ring with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
A status change on a strip on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_PAD capability.
One or more axes have changed state on a device with the @ref
LIBINPUT_DEVICE_CAP_TABLET_TOOL capability. This event is only sent
when the tool is in proximity, see @ref
LIBINPUT_EVENT_TABLET_TOOL_PROXIMITY for details.
Signals that a tool has changed a logical button state on a
device with the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
Signals that a tool has come in or out of proximity of a device with
the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
Signals that a tool has come in contact with the surface of a
device with the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
A scroll event from a continuous scroll source, e.g. button
scrolling. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
A scroll event from a continuous scroll source, e.g. button
scrolling. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
Signals the end of a set of touchpoints at one device sample
time. This event has no coordinate information attached.
A scroll event from a continuous scroll source, e.g. button
scrolling. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
A scroll event from a continuous scroll source, e.g. button
scrolling. This event is sent is sent in
addition to the @ref LIBINPUT_EVENT_POINTER_AXIS
event for all events with a
libinput_event_pointer_get_axis_source() of @ref
LIBINPUT_POINTER_AXIS_SOURCE_CONTINUOUS. Ignore @ref
LIBINPUT_EVENT_POINTER_AXIS if you are processing this event.
The event is caused by the motion of some device.
The event is caused by the movement of one or more fingers on a
device.
The event is caused by the rotation of a wheel.
The event is caused by the tilting of a mouse wheel rather than
its rotation. This method is commonly used on mice without
separate horizontal scroll wheels.
The laptop lid was closed when the switch state is @ref
LIBINPUT_SWITCH_STATE_ON, or was opened when it is @ref
LIBINPUT_SWITCH_STATE_OFF.
This switch indicates whether the device is in normal laptop mode
or behaves like a tablet-like device where the primary
interaction is usually a touch screen. When in tablet mode, the
keyboard and touchpad are usually inaccessible.
The event is caused by the movement of one or more fingers on
the ring.
The event is caused by the movement of one or more fingers on
the strip.
< An airbrush-like tool
< A paintbrush-like tool
< Eraser
< A mouse tool with a lens
< A mouse bound to the tablet
< A generic pen
< Physical drawing tool, e.g.
Wacom Inking Pen
< A rotary device with
positional and rotation
data