[][src]Enum wayland_protocols::unstable::tablet::v2::server::zwp_tablet_seat_v2::Event

pub enum Event {
    TabletAdded {
        id: Resource<ZwpTabletV2>,
    },
    ToolAdded {
        id: Resource<ZwpTabletToolV2>,
    },
    PadAdded {
        id: Resource<ZwpTabletPadV2>,
    },
}

Variants

TabletAdded

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.

Fields of TabletAdded

id: Resource<ZwpTabletV2>
ToolAdded

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.

Fields of ToolAdded

id: Resource<ZwpTabletToolV2>
PadAdded

new pad notification

This event is sent whenever a new pad is known to the system. Typically, pads are physically attached to tablets and a pad_added event is sent immediately after the wp_tablet_seat.tablet_added. However, some standalone pad devices logically attach to tablets at runtime, and the client must wait for wp_tablet_pad.enter to know the tablet a pad is attached to.

This event only provides the object id of the pad. All further features (buttons, strips, rings) are sent through the wp_tablet_pad interface.

Fields of PadAdded

id: Resource<ZwpTabletPadV2>

Trait Implementations

impl MessageGroup for Event[src]

type Map = ResourceMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]