pub enum HidppOperation {
Show 23 variants
ResolveFeature,
DumpFeatures,
ReadDpi,
ReadDpiCapabilities,
WriteDpi,
ReadSmartShift,
WriteSmartShift,
Lighting,
ReadWheelMode,
WriteWheelMode,
ReadBacklight,
WriteBacklight,
WriteFnLock,
Light,
PlayHaptic,
ReadFnLock,
ReadPointerScaling,
WritePointerScaling,
WriteOsLayout,
ReadReportRate,
WriteReportRate,
ReadHosts,
RenameHost,
}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.
ReadPointerScaling
Read the 0x2205 pointer-motion scaling. Appended last — variant order
is wire format.
WritePointerScaling
Write the 0x2205 pointer-motion scaling. Appended last — variant order
is wire format.
WriteOsLayout
Keep a keyboard’s 0x4531 platform on the host OS: read the platform
table and the current host’s platform, and write it when it differs.
Appended last — variant order is wire format.
ReadReportRate
Read the 0x8060 / 0x8061 report rate and the rates the device
lists. Appended last — variant order is wire format.
WriteReportRate
Write the 0x8060 / 0x8061 report rate. Appended last — variant
order is wire format.
ReadHosts
Read the 0x1815 Easy-Switch host slots, their names and OS.
Appended last — variant order is wire format.
RenameHost
Write an Easy-Switch slot’s 0x1815 host name. 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