Function
GdkX11x11_device_get_id
since: 3.2
Declaration [src]
gint
gdk_x11_device_get_id (
GdkDevice* device
)
Description [src]
Returns the device ID as seen by XInput2.
If
gdk_disable_multidevice()
has been called, this function will respectively return 2/3 for the core pointer and keyboard, (matching the IDs for the Virtual Core Pointer and Keyboard in XInput 2), but calling this function on any slave devices (i.e. those managed via XInput 1.x), will return 0.
Available since: 3.2
Parameters
device
-
Type:
GdkX11DeviceCore
A
GdkDevice
.The data is owned by the caller of the function.