[][src]Module wayland_raw_protocol_bindings::client::tablet_unstable_v2::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.

Enums

button_state

physical button state

zwp_tablet_pad_v2

Statics

zwp_tablet_pad_v2_requests

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

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

Traits

zwp_tablet_pad_v2_listener

An interface for handling events.

Functions

zwp_tablet_pad_v2_set_user_data
zwp_tablet_pad_v2_get_user_data
zwp_tablet_pad_v2_get_version
zwp_tablet_pad_v2_add_listener
zwp_tablet_pad_v2_add_rust_listener
zwp_tablet_pad_v2_set_feedback

set compositor feedback

zwp_tablet_pad_v2_destroy

destroy the pad object