Class ZwpTabletPadGroupV2Proxy
- All Implemented Interfaces:
WaylandObject
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZwpTabletPadGroupV2Proxy
(MemorySegment pointer) ZwpTabletPadGroupV2Proxy
(MemorySegment pointer, ZwpTabletPadGroupV2Events implementation, int version) -
Method Summary
Methods inherited from class org.freedesktop.wayland.client.Proxy
equals, getId, getImplementation, getPointer, getVersion, hashCode, marshal, marshal, marshalConstructor, setQueue
-
Field Details
-
INTERFACE_NAME
- See Also:
-
-
Constructor Details
-
ZwpTabletPadGroupV2Proxy
public ZwpTabletPadGroupV2Proxy(MemorySegment pointer, ZwpTabletPadGroupV2Events implementation, int version) -
ZwpTabletPadGroupV2Proxy
-
-
Method Details
-
destroy
public void destroy()destroy the pad objectDestroy the wp_tablet_pad_group object. Objects created from this object are unaffected and should be destroyed separately.
- Overrides:
destroy
in classProxy<ZwpTabletPadGroupV2Events>
-