pub enum HidppOperation {
Show 16 variants
ResolveFeature,
DumpFeatures,
ReadDpi,
ReadDpiCapabilities,
WriteDpi,
ReadSmartShift,
WriteSmartShift,
Lighting,
ReadWheelMode,
WriteWheelMode,
ReadBacklight,
WriteBacklight,
WriteFnLock,
Light,
PlayHaptic,
ReadFnLock,
}Expand description
HID++ operation being performed when a device write/read failed.
Variant order is wire format because this travels inside WriteError.
Variants§
ResolveFeature
Resolve a feature ID to its runtime feature index.
DumpFeatures
Enumerate the device feature table.
ReadDpi
Read current DPI.
ReadDpiCapabilities
Read DPI capabilities.
WriteDpi
Write DPI.
ReadSmartShift
Read SmartShift status.
WriteSmartShift
Write SmartShift status.
Lighting
Write keyboard lighting.
ReadWheelMode
Read HiResWheel capabilities or the current wheel mode.
WriteWheelMode
Write and verify the native HiResWheel mode.
ReadBacklight
Read the keyboard backlight config or info.
WriteBacklight
Write the keyboard backlight config.
WriteFnLock
Write keyboard Fn-lock (fn inversion).
Light
Write a standalone-light command. Appended last — variant order is wire format.
PlayHaptic
Play one haptic waveform. Appended last — variant order is wire format.
ReadFnLock
Read keyboard Fn-lock (fn inversion). Appended last — variant order is wire format.
Trait Implementations§
Source§impl Clone for HidppOperation
impl Clone for HidppOperation
Source§fn clone(&self) -> HidppOperation
fn clone(&self) -> HidppOperation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more