pub fn x11_device_manager_lookup(
    device_manager: &impl IsA<X11DeviceManagerCore>,
    device_id: i32
) -> Option<X11DeviceCore>
Expand description

Returns the gdk::Device that wraps the given device ID.

device_manager

a gdk::DeviceManager

device_id

a device ID, as understood by the XInput2 protocol

Returns

The gdk::Device wrapping the device ID, or None if the given ID doesn’t currently represent a device.