Struct evdev::DeviceState
[−]
[src]
pub struct DeviceState { pub timestamp: timeval, pub key_vals: FixedBitSet, pub abs_vals: Vec<input_absinfo>, pub switch_vals: FixedBitSet, pub led_vals: FixedBitSet, }
Fields
timestamp: timeval
The state corresponds to kernel state at this timestamp.
key_vals: FixedBitSet
Set = key pressed
abs_vals: Vec<input_absinfo>
switch_vals: FixedBitSet
Set = switch enabled (closed)
led_vals: FixedBitSet
Set = LED lit
Trait Implementations
impl Clone for DeviceState
[src]
fn clone(&self) -> DeviceState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more