pub struct TouchMouseRawFeature { /* private fields */ }Expand description
Implements the TouchMouseRaw / 0x6110 feature.
Implementations§
Source§impl TouchMouseRawFeature
impl TouchMouseRawFeature
Sourcepub async fn get_touchpad_info(&self) -> Result<TouchMouseInfo, Hidpp20Error>
pub async fn get_touchpad_info(&self) -> Result<TouchMouseInfo, Hidpp20Error>
Retrieves the touch mouse’s characteristics.
Sourcepub async fn get_raw_mode(&self) -> Result<RawMode, Hidpp20Error>
pub async fn get_raw_mode(&self) -> Result<RawMode, Hidpp20Error>
Retrieves the current raw-reporting mode.
Sourcepub async fn set_raw_mode(&self, mode: RawMode) -> Result<(), Hidpp20Error>
pub async fn set_raw_mode(&self, mode: RawMode) -> Result<(), Hidpp20Error>
Sets the raw-reporting mode.
A raw mode must be selected for TouchMouseRawEvent::RawData events to
be emitted.
Trait Implementations§
Source§impl CreatableFeature for TouchMouseRawFeature
impl CreatableFeature for TouchMouseRawFeature
Source§const STARTING_VERSION: u8 = 0
const STARTING_VERSION: u8 = 0
The version of the feature the implementation starts to support.
Source§impl EmittingFeature<TouchMouseRawEvent> for TouchMouseRawFeature
impl EmittingFeature<TouchMouseRawEvent> for TouchMouseRawFeature
Source§fn listen(&self) -> Receiver<TouchMouseRawEvent>
fn listen(&self) -> Receiver<TouchMouseRawEvent>
Creates a receiver that is being notified whenever a new event of type
T is emitted by the feature.impl Feature for TouchMouseRawFeature
Auto Trait Implementations§
impl !RefUnwindSafe for TouchMouseRawFeature
impl !UnwindSafe for TouchMouseRawFeature
impl Freeze for TouchMouseRawFeature
impl Send for TouchMouseRawFeature
impl Sync for TouchMouseRawFeature
impl Unpin for TouchMouseRawFeature
impl UnsafeUnpin for TouchMouseRawFeature
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