Enum input::event::tablet_pad::TabletPadEvent [] [src]

pub enum TabletPadEvent {
    Button(TabletPadButtonEvent),
    Ring(TabletPadRingEvent),
    Strip(TabletPadStripEvent),
}

A tablet-pad related Event

Variants

A button pressed on a device with the DeviceCapability::TabletPad capability.

This event is not to be confused with the button events emitted by tools on a tablet. See TabletToolButtonEvent.

A status change on a tablet ring with the DeviceCapability::TabletPad capability.

A status change on a strip on a device with the DeviceCapability::TabletPad capability.

Trait Implementations

impl Debug for TabletPadEvent
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TabletPadEvent
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for TabletPadEvent
[src]

impl Hash for TabletPadEvent
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl EventTrait for TabletPadEvent
[src]

[src]

Convert into a general Event again

[src]

Get the libinput context from the event.

[src]

Return the device associated with this event. Read more

impl FromRaw<libinput_event_tablet_pad> for TabletPadEvent
[src]

[src]

Create a new instance of this type from a raw pointer. Read more

impl AsRaw<libinput_event_tablet_pad> for TabletPadEvent
[src]

[src]

Receive a raw pointer representing this type.