pub struct TabletPadDialEvent { /* private fields */ }Expand description
A status change on a dial on a device with the DeviceCapability::TabletPad
capability.
Implementations§
Source§impl TabletPadDialEvent
impl TabletPadDialEvent
Sourcepub fn dial_v120(&self) -> f64
pub fn dial_v120(&self) -> f64
Returns the delta change of the dial, in multiples or fractions of 120, with each multiple of 120 indicating one logical wheel event.
See PointerScrollWheelEvent::scroll_value_v120
for more details.
Trait Implementations§
Source§impl AsRaw<libinput_event_tablet_pad> for TabletPadDialEvent
impl AsRaw<libinput_event_tablet_pad> for TabletPadDialEvent
Source§fn as_raw(&self) -> *const libinput_event_tablet_pad
fn as_raw(&self) -> *const libinput_event_tablet_pad
Receive a raw pointer representing this type.
Source§impl Context for TabletPadDialEvent
impl Context for TabletPadDialEvent
Source§impl Debug for TabletPadDialEvent
impl Debug for TabletPadDialEvent
Source§impl Drop for TabletPadDialEvent
impl Drop for TabletPadDialEvent
Source§impl EventTrait for TabletPadDialEvent
impl EventTrait for TabletPadDialEvent
Source§impl Hash for TabletPadDialEvent
impl Hash for TabletPadDialEvent
Source§impl PartialEq for TabletPadDialEvent
impl PartialEq for TabletPadDialEvent
impl Eq for TabletPadDialEvent
Auto Trait Implementations§
impl Freeze for TabletPadDialEvent
impl !RefUnwindSafe for TabletPadDialEvent
impl !Send for TabletPadDialEvent
impl !Sync for TabletPadDialEvent
impl Unpin for TabletPadDialEvent
impl UnsafeUnpin for TabletPadDialEvent
impl !UnwindSafe for TabletPadDialEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> TabletPadEventTrait for T
impl<T> TabletPadEventTrait for T
Source§fn mode(&self) -> u32
fn mode(&self) -> u32
Returns the mode the button, ring, or strip that triggered this event is in, at the time of the event. Read more
Source§fn mode_group(&self) -> TabletPadModeGroup
fn mode_group(&self) -> TabletPadModeGroup
Returns the mode group that the button, ring, or strip that triggered this
event is considered in. Read more
Source§fn into_tablet_pad_event(self) -> TabletPadEventwhere
Self: Sized,
fn into_tablet_pad_event(self) -> TabletPadEventwhere
Self: Sized,
Convert into a general
TabletPadEvent again