x11rb::protocol::xinput

Function set_device_mode

Source
pub fn set_device_mode<Conn>(
    conn: &Conn,
    device_id: u8,
    mode: ValuatorMode,
) -> Result<Cookie<'_, Conn, SetDeviceModeReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,