Enum wayland_protocols::unstable::tablet::v1::client::zwp_tablet_seat_v1::Event [−][src]
#[non_exhaustive]
pub enum Event {
TabletAdded {
id: Main<ZwpTabletV1>,
},
ToolAdded {
id: Main<ZwpTabletToolV1>,
},
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
TabletAdded
Fields
id: Main<ZwpTabletV1>
new device notification
This event is sent whenever a new tablet becomes available on this seat. This event only provides the object id of the tablet, any static information about the tablet (device name, vid/pid, etc.) is sent through the wp_tablet interface.
ToolAdded
Fields
id: Main<ZwpTabletToolV1>
a new tool has been used with a tablet
This event is sent whenever a tool that has not previously been used with a tablet comes into use. This event only provides the object id of the tool; any static information about the tool (capabilities, type, etc.) is sent through the wp_tablet_tool interface.
Trait Implementations
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more