server
only.Expand description
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§
- ZwpTablet
PadGroup V2 - a set of buttons, rings and strips
Enums§
Constants§
- EVT_
BUTTONS_ OPCODE - The wire opcode for this event
- EVT_
BUTTONS_ 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_
MODES_ OPCODE - The wire opcode for this event
- EVT_
MODES_ SINCE - The minimal object version supporting this event
- EVT_
MODE_ SWITCH_ OPCODE - The wire opcode for this event
- EVT_
MODE_ SWITCH_ SINCE - The minimal object version supporting this event
- EVT_
RING_ OPCODE - The wire opcode for this event
- EVT_
RING_ SINCE - The minimal object version supporting this event
- EVT_
STRIP_ OPCODE - The wire opcode for this event
- EVT_
STRIP_ 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