x11rb::protocol::xinput

Function open_device

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