Struct cognitive_qualia::configuration::InputConfig
[−]
[src]
pub struct InputConfig { pub touchpad_scale: f32, pub touchpad_pressure_threshold: i32, pub mouse_scale: f32, }
Configuration of input devices.
Fields
touchpad_scale: f32
Scale for touchpad event position values. In future will be replaced by non-linear scale per dimension.
touchpad_pressure_threshold: i32
Threshold value for touchpad pressure below which move events will be ignored.
mouse_scale: f32
Scale for mouse event motion values. In future will be replaced by non-linear scale per dimension.
Trait Implementations
impl Clone for InputConfig
[src]
fn clone(&self) -> InputConfig
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