Module smithay::backend::input[][src]

Expand description

Common traits for input backends to receive input from.

Structs

Describes extra capabilities on a tablet.

Description of physical tablet tool

Slot of a different touch event.

Enums

Axis when scrolling

Source of an axis when scrolling

State of a button on a pointer device, like mouse or tablet tool. Either pressed or released

Set of input types a device may provide

Different events that can be generated by an input backend

State of key on a keyboard. Either pressed or released

A particular mouse button

The state of proximity for a tool on a device.

The tip contact state for a tool on a device.

Describes the physical type of tool. The physical type of tool generally defines its base usage.

Used to mark events never emitted by an InputBackend implementation.

Traits

Trait for generic functions every input device does provide

Trait for generic functions every input event does provide

Trait that describes objects providing a source of input events. All input backends need to implement this and provide the same base guarantees about the precision of given events.

Trait for keyboard event

Trait for pointer events generated by scrolling on an axis.

Common methods pointer event generated by pressed buttons do implement

Trait for pointer events generated by absolute device positioning.

Trait for pointer events generated by relative device movement.

Trait for axis tablet tool events.

Signals that a tool has changed a logical button state on a device with the DeviceCapability::TabletTool capability.

Tablet tool event

Trait for tablet tool proximity events.

Signals that a tool has come in contact with the surface of a device with the DeviceCapability::TabletTool capability.

Trait for touch events canceling the chain

Trait for touch events starting at a given position.

Trait for touch frame events

Trait for touch events regarding movement on the screen

Trait for touch events finishing.