Crate input_sys[][src]

Structs

@ingroup base @struct libinput

@ingroup device @struct libinput_device

@ingroup device @struct libinput_device_group

@ingroup event @struct libinput_event

@ingroup event @struct libinput_event_device_notify

@ingroup event_keyboard @struct libinput_event_keyboard

@ingroup event_pointer @struct libinput_event_pointer

@ingroup event_switch @struct libinput_event_switch

@ingroup event_tablet_pad @struct libinput_event_tablet_pad

@ingroup event_tablet @struct libinput_event_tablet_tool

@ingroup event_touch @struct libinput_event_touch

@ingroup base @struct libinput_interface

@ingroup seat @struct libinput_seat

@ingroup tablet_pad_modes @struct libinput_tablet_pad_mode_group

@ingroup device @struct libinput_tablet_tool

Constants

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.

< 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.

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().

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.

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 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.

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 the end of a set of touchpoints at one device sample time. This event has no coordinate information attached.

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.

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.

< Physical drawing tool, e.g. Wacom Inking Pen

< A rotary device with positional and rotation data

Functions

@ingroup device

@ingroup device

@ingroup base

@ingroup event_gesture

@ingroup event_gesture

@ingroup event_gesture

@ingroup event_keyboard

@ingroup event_keyboard

@ingroup event_pointer

@ingroup event_pointer

@ingroup event_pointer

@ingroup event_pointer

@ingroup event_switch

@ingroup event_tablet_pad

@ingroup event_tablet_pad

@ingroup event_tablet_pad

@ingroup event_touch

@ingroup event_touch

@ingroup base

@ingroup base

@ingroup base

@ingroup base

@ingroup seat

@ingroup base

@ingroup tablet_pad_modes

@ingroup tablet_pad_modes

@ingroup event_tablet

@ingroup event_tablet

@ingroup event_tablet

@ingroup event_tablet

@ingroup event_tablet

@ingroup event_tablet

@ingroup event_tablet

@ingroup base

Type Definitions