client
only.Expand description
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§
- ZwpTablet
Tool V1 - a physical tablet tool
Enums§
- Button
State - physical button state
- Capability
- capability flags for a tool
- Error
- Event
- Request
- Type
- a physical tool type
Constants§
- EVT_
BUTTON_ OPCODE - The wire opcode for this event
- EVT_
BUTTON_ SINCE - The minimal object version supporting this event
- EVT_
CAPABILITY_ OPCODE - The wire opcode for this event
- EVT_
CAPABILITY_ SINCE - The minimal object version supporting this event
- EVT_
DISTANCE_ OPCODE - The wire opcode for this event
- EVT_
DISTANCE_ 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_
DOWN_ OPCODE - The wire opcode for this event
- EVT_
DOWN_ SINCE - The minimal object version supporting this event
- EVT_
FRAME_ OPCODE - The wire opcode for this event
- EVT_
FRAME_ SINCE - The minimal object version supporting this event
- EVT_
HARDWARE_ ID_ WACOM_ OPCODE - The wire opcode for this event
- EVT_
HARDWARE_ ID_ WACOM_ SINCE - The minimal object version supporting this event
- EVT_
HARDWARE_ SERIAL_ OPCODE - The wire opcode for this event
- EVT_
HARDWARE_ SERIAL_ SINCE - The minimal object version supporting this event
- EVT_
MOTION_ OPCODE - The wire opcode for this event
- EVT_
MOTION_ SINCE - The minimal object version supporting this event
- EVT_
PRESSURE_ OPCODE - The wire opcode for this event
- EVT_
PRESSURE_ SINCE - The minimal object version supporting this event
- EVT_
PROXIMITY_ IN_ OPCODE - The wire opcode for this event
- EVT_
PROXIMITY_ IN_ SINCE - The minimal object version supporting this event
- EVT_
PROXIMITY_ OUT_ OPCODE - The wire opcode for this event
- EVT_
PROXIMITY_ OUT_ SINCE - The minimal object version supporting this event
- EVT_
REMOVED_ OPCODE - The wire opcode for this event
- EVT_
REMOVED_ SINCE - The minimal object version supporting this event
- EVT_
ROTATION_ OPCODE - The wire opcode for this event
- EVT_
ROTATION_ SINCE - The minimal object version supporting this event
- EVT_
SLIDER_ OPCODE - The wire opcode for this event
- EVT_
SLIDER_ SINCE - The minimal object version supporting this event
- EVT_
TILT_ OPCODE - The wire opcode for this event
- EVT_
TILT_ SINCE - The minimal object version supporting this event
- EVT_
TYPE_ OPCODE - The wire opcode for this event
- EVT_
TYPE_ SINCE - The minimal object version supporting this event
- EVT_
UP_ OPCODE - The wire opcode for this event
- EVT_
UP_ SINCE - The minimal object version supporting this event
- EVT_
WHEEL_ OPCODE - The wire opcode for this event
- EVT_
WHEEL_ 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
- REQ_
SET_ CURSOR_ OPCODE - The wire opcode for this request
- REQ_
SET_ CURSOR_ SINCE - The minimal object version supporting this request