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

a set of buttons, rings and strips

A pad group describes a distinct (sub)set of buttons, rings and strips present in the tablet. The criteria of this grouping is usually positional, eg. if a tablet has buttons on the left and right side, 2 groups will be presented. The physical arrangement of groups is undisclosed and may change on the fly.

Pad groups will announce their features during pad initialization. Between the corresponding wp_tablet_pad.group event and wp_tablet_pad_group.done, the pad group will announce the buttons, rings and strips contained in it, plus the number of supported modes.

Modes are a mechanism to allow multiple groups of actions for every element in the pad group. The number of groups and available modes in each is persistent across device plugs. The current mode is user-switchable, it will be announced through the wp_tablet_pad_group.mode_switch event both whenever it is switched, and after wp_tablet_pad.enter.

The current mode logically applies to all elements in the pad group, although it is at clients' discretion whether to actually perform different actions, and/or issue the respective .set_feedback requests to notify the compositor. See the wp_tablet_pad_group.mode_switch event for more details.

Structs

ZwpTabletPadGroupV2

Enums

Event
Request

Constants

EVT_BUTTONS_SINCE

The minimal object version supporting this event

EVT_DONE_SINCE

The minimal object version supporting this event

EVT_MODES_SINCE

The minimal object version supporting this event

EVT_MODE_SWITCH_SINCE

The minimal object version supporting this event

EVT_RING_SINCE

The minimal object version supporting this event

EVT_STRIP_SINCE

The minimal object version supporting this event

REQ_DESTROY_SINCE

The minimal object version supporting this request

Statics

zwp_tablet_pad_group_v2_events

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

zwp_tablet_pad_group_v2_interface

C representation of this interface, for interop

zwp_tablet_pad_group_v2_requests

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

Traits

EventHandler

An interface for handling events.