x11rb::protocol::xkb

Function set_controls

Source
pub fn set_controls<'c, 'input, Conn>(
    conn: &'c Conn,
    device_spec: DeviceSpec,
    affect_internal_real_mods: ModMask,
    internal_real_mods: ModMask,
    affect_ignore_lock_real_mods: ModMask,
    ignore_lock_real_mods: ModMask,
    affect_internal_virtual_mods: VMod,
    internal_virtual_mods: VMod,
    affect_ignore_lock_virtual_mods: VMod,
    ignore_lock_virtual_mods: VMod,
    mouse_keys_dflt_btn: u8,
    groups_wrap: u8,
    access_x_options: AXOption,
    affect_enabled_controls: BoolCtrl,
    enabled_controls: BoolCtrl,
    change_controls: Control,
    repeat_delay: u16,
    repeat_interval: u16,
    slow_keys_delay: u16,
    debounce_delay: u16,
    mouse_keys_delay: u16,
    mouse_keys_interval: u16,
    mouse_keys_time_to_max: u16,
    mouse_keys_max_speed: u16,
    mouse_keys_curve: i16,
    access_x_timeout: u16,
    access_x_timeout_mask: BoolCtrl,
    access_x_timeout_values: BoolCtrl,
    access_x_timeout_options_mask: AXOption,
    access_x_timeout_options_values: AXOption,
    per_key_repeat: &'input [u8; 32],
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,