[][src]Module wayland_protocols::unstable::tablet::v1::client::zwp_tablet_tool_v1

a physical tablet tool

An object that represents a physical tool that has been, or is currently in use with a tablet in this seat. Each wp_tablet_tool object stays valid until the client destroys it; the compositor reuses the wp_tablet_tool object to indicate that the object's respective physical tool has come into proximity of a tablet again.

A wp_tablet_tool object's relation to a physical tool depends on the tablet's ability to report serial numbers. If the tablet supports this capability, then the object represents a specific physical tool and can be identified even when used on multiple tablets.

A tablet tool has a number of static characteristics, e.g. tool type, hardware_serial and capabilities. These capabilities are sent in an event sequence after the wp_tablet_seat.tool_added event before any actual events from this tool. This initial event sequence is terminated by a wp_tablet_tool.done event.

Tablet tool events are grouped by wp_tablet_tool.frame events. Any events received before a wp_tablet_tool.frame event should be considered part of the same hardware state change.

Structs

ZwpTabletToolV1

Enums

ButtonState

physical button state

Capability

capability flags for a tool

Error
Event
Request
Type

a physical tool type

Constants

EVT_BUTTON_SINCE

The minimal object version supporting this event

EVT_CAPABILITY_SINCE

The minimal object version supporting this event

EVT_DISTANCE_SINCE

The minimal object version supporting this event

EVT_DONE_SINCE

The minimal object version supporting this event

EVT_DOWN_SINCE

The minimal object version supporting this event

EVT_FRAME_SINCE

The minimal object version supporting this event

EVT_HARDWARE_ID_WACOM_SINCE

The minimal object version supporting this event

EVT_HARDWARE_SERIAL_SINCE

The minimal object version supporting this event

EVT_MOTION_SINCE

The minimal object version supporting this event

EVT_PRESSURE_SINCE

The minimal object version supporting this event

EVT_PROXIMITY_IN_SINCE

The minimal object version supporting this event

EVT_PROXIMITY_OUT_SINCE

The minimal object version supporting this event

EVT_REMOVED_SINCE

The minimal object version supporting this event

EVT_ROTATION_SINCE

The minimal object version supporting this event

EVT_SLIDER_SINCE

The minimal object version supporting this event

EVT_TILT_SINCE

The minimal object version supporting this event

EVT_TYPE_SINCE

The minimal object version supporting this event

EVT_UP_SINCE

The minimal object version supporting this event

EVT_WHEEL_SINCE

The minimal object version supporting this event

REQ_DESTROY_SINCE

The minimal object version supporting this request

REQ_SET_CURSOR_SINCE

The minimal object version supporting this request

Traits

RequestsTrait