lookup_for_device_manager


Description:

[ CCode ( cname = "gdk_x11_device_manager_lookup" ) ]
public unowned DeviceXI2? lookup_for_device_manager (int device_id)

Returns the `GdkDevice` that wraps the given device ID.

Parameters:

device_id

a device ID, as understood by the XInput2 protocol

device_manager

a `GdkDeviceManager`

Returns:

The `GdkDevice` wrapping the device ID, or null if the given ID doesn’t currently represent a device.