[][src]Module wayland_protocols::unstable::tablet::v2::client::zwp_tablet_pad_v2

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

Enums

ButtonState

physical button state

Event
Request

Constants

EVT_BUTTONS_SINCE

The minimal object version supporting this event

EVT_BUTTON_SINCE

The minimal object version supporting this event

EVT_DONE_SINCE

The minimal object version supporting this event

EVT_ENTER_SINCE

The minimal object version supporting this event

EVT_GROUP_SINCE

The minimal object version supporting this event

EVT_LEAVE_SINCE

The minimal object version supporting this event

EVT_PATH_SINCE

The minimal object version supporting this event

EVT_REMOVED_SINCE

The minimal object version supporting this event

REQ_DESTROY_SINCE

The minimal object version supporting this request

REQ_SET_FEEDBACK_SINCE

The minimal object version supporting this request

Statics

zwp_tablet_pad_v2_events

C-representation of the messages of this interface, for interop

zwp_tablet_pad_v2_interface

C representation of this interface, for interop

zwp_tablet_pad_v2_requests

C-representation of the messages of this interface, for interop

Traits

EventHandler

An interface for handling events.