Module zwp_tablet_pad_v2

Source
Available on crate feature client only.
Expand description

a set of buttons, rings and strips

A pad device is a set of buttons, rings and strips usually physically present on the tablet device itself. Some exceptions exist where the pad device is physically detached, e.g. the Wacom ExpressKey Remote.

Pad devices have no axes that control the cursor and are generally auxiliary devices to the tool devices used on the tablet surface.

A pad device has a number of static characteristics, e.g. the number of rings. These capabilities are sent in an event sequence after the wp_tablet_seat.pad_added event before any actual events from this pad. This initial event sequence is terminated by a wp_tablet_pad.done event.

All pad features (buttons, rings and strips) are logically divided into groups and all pads have at least one group. The available groups are notified through the wp_tablet_pad.group event; the compositor will emit one event per group before emitting wp_tablet_pad.done.

Groups may have multiple modes. Modes allow clients to map multiple actions to a single pad feature. Only one mode can be active per group, although different groups may have different active modes.

Structs§

ZwpTabletPadV2
a set of buttons, rings and strips

Enums§

ButtonState
physical button state
Event
Request

Constants§

EVT_BUTTONS_OPCODE
The wire opcode for this event
EVT_BUTTONS_SINCE
The minimal object version supporting this event
EVT_BUTTON_OPCODE
The wire opcode for this event
EVT_BUTTON_SINCE
The minimal object version supporting this event
EVT_DONE_OPCODE
The wire opcode for this event
EVT_DONE_SINCE
The minimal object version supporting this event
EVT_ENTER_OPCODE
The wire opcode for this event
EVT_ENTER_SINCE
The minimal object version supporting this event
EVT_GROUP_OPCODE
The wire opcode for this event
EVT_GROUP_SINCE
The minimal object version supporting this event
EVT_LEAVE_OPCODE
The wire opcode for this event
EVT_LEAVE_SINCE
The minimal object version supporting this event
EVT_PATH_OPCODE
The wire opcode for this event
EVT_PATH_SINCE
The minimal object version supporting this event
EVT_REMOVED_OPCODE
The wire opcode for this event
EVT_REMOVED_SINCE
The minimal object version supporting this event
REQ_DESTROY_OPCODE
The wire opcode for this request
REQ_DESTROY_SINCE
The minimal object version supporting this request
REQ_SET_FEEDBACK_OPCODE
The wire opcode for this request
REQ_SET_FEEDBACK_SINCE
The minimal object version supporting this request