Enum smithay::backend::input::UnusedEvent [−][src]
pub enum UnusedEvent {}
Expand description
Used to mark events never emitted by an InputBackend
implementation.
Implements all event types and can be used in place for any Event
type,
that is not used by an InputBackend
implementation. Initialization is not
possible, making accidental use impossible and enabling a lot of possible
compiler optimizations.
Trait Implementations
Pressed button of the event
State of the button
Delta on the x axis between the last and new pointer device position interpreted as pixel movement
Delta on the y axis between the last and new pointer device position interpreted as pixel movement
Return the button that triggered this event.
For the button of a TabletToolButtonEvent, return the total number of buttons pressed on all devices on the associated seat after the the event was triggered. Read more
Return the button state of the event.
Get tablet tool that caused this event
Delta on the x axis between the last and new pointer device position interpreted as pixel movement
Delta on the y axis between the last and new pointer device position interpreted as pixel movement
Returns the x coordinate of the tablet tool, in mm from the top left corner of the tablet in its current logical orientation.
Returns the y coordinate of the tablet tool, in mm from the top left corner of the tablet in its current logical orientation.
Return the current absolute X coordinate of the tablet tool event, transformed to screen coordinates.
Return the current absolute Y coordinate of the tablet tool event, transformed to screen coordinates.
Returns the current distance from the tablet’s sensor, normalized to the range [0, 1] Read more
Check if the distance axis was updated in this event.
Returns the current pressure being applied on the tool in use, normalized to the range [0, 1]. Read more
Check if the pressure axis was updated in this event.
Returns the current position of the slider on the tool, normalized to the range [-1, 1]. Read more
Check if the slider axis was updated in this event.
Returns the current tilt along the X axis of the tablet’s current logical orientation, in degrees off the tablet’s z axis. Read more
Check if the tilt x axis was updated in this event.
Returns the current tilt along the Y axis of the tablet’s current logical orientation, in degrees off the tablet’s z axis. Read more
Check if the tilt y axis was updated in this event.
Returns the current z rotation of the tool in degrees, clockwise from the tool’s logical neutral position. Read more
Check if the z-rotation axis was updated in this event.
Return the delta for the wheel in degrees.
Return the delta for the wheel in discrete steps (e.g. wheel clicks).
Check if the wheel axis was updated in this event.
Delta between the last and new pointer device position interpreted as pixel movement
Tool position converted into the target coordinate space.
Returns the current tilt along the (X,Y) axis of the tablet’s current logical orientation, in degrees off the tablet’s z axis. Read more
Check if the tilt was updated in this event.
Returns the new proximity state of a tool from a proximity event. Read more
Returns the new tip state of a tool from a tip event. Read more
Touch event’s x position converted to the targets coordinate space’s width. E.g. the focused output’s width. Read more
Touch event’s y position converted to the targets coordinate space’s width. E.g. the focused output’s width. Read more
Touch position in the device’s native coordinate space Read more
Touch event’s x position converted to the targets coordinate space’s width. E.g. the focused output’s width. Read more
Touch event’s y position converted to the targets coordinate space’s width. E.g. the focused output’s width. Read more
Touch position in the device’s native coordinate space Read more
Auto Trait Implementations
impl RefUnwindSafe for UnusedEvent
impl Send for UnusedEvent
impl Sync for UnusedEvent
impl Unpin for UnusedEvent
impl UnwindSafe for UnusedEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V