package wayland
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=0f882060a4cfe9424ed397676b8e2aaa931d84610beb29cb2ec9c355d1819625
sha512=847781a3d274da7463ad1a2e46bada3663b8dee08fa576ad787e7ba35cb0f39a3e1a0e6e9729db2f643885a35ae32ece0358c5897d31b68907cad44f1b26af31
doc/wayland.protocols/Wayland_protocols/Tablet_v2_server/Zwp_tablet_v2/index.html
Module Tablet_v2_server.Zwp_tablet_v2
Source
Graphics tablet device.
The wp_tablet interface represents one graphics tablet device. The tablet interface itself does not generate events; all events are generated by wp_tablet_tool objects when in proximity above a tablet.
A tablet has a number of static characteristics, e.g. device name and pid/vid. These capabilities are sent in an event sequence after the wp_tablet_seat.tablet_added event. This initial event sequence is terminated by a wp_tablet.done event.
Version 1
Tablet removed event.
Sent when the tablet has been removed from the system. When a tablet is removed, some tools may be removed.
When this event is received, the client must wp_tablet.destroy the object.
Tablet description events sequence complete.
This event is sent immediately to signal the end of the initial burst of descriptive events. A client may consider the static description of the tablet to be complete and finalize initialization of the tablet.
Path to the device.
A system-specific device path that indicates which device is behind this wp_tablet. This information may be used to gather additional information about the device, e.g. through libwacom.
A device may have more than one device path. If so, multiple wp_tablet.path events are sent. A device may be emulated and not have a device path, and in that case this event will not be sent.
The format of the path is unspecified, it may be a device node, a sysfs path, or some other identifier. It is up to the client to identify the string provided.
This event is sent in the initial burst of events before the wp_tablet.done event.
Tablet device USB vendor/product id.
The USB vendor and product IDs for the tablet device.
If the device has no USB vendor/product ID, this event is not sent. This can happen for virtual devices or non-USB devices, for instance.
This event is sent in the initial burst of events before the wp_tablet.done event.
Tablet device name.
A descriptive name for the tablet device.
If the device has no descriptive name, this event is not sent.
This event is sent in the initial burst of events before the wp_tablet.done event.
Handlers
Note: Servers will always want to use v1
.