Function

GdkX11x11_device_get_id

Declaration [src]

int
gdk_x11_device_get_id (
  GdkDevice* device
)

Description [src]

Returns the device ID as seen by XInput2.

Parameters

device

Type: GdkX11DeviceXI2

A GdkDevice

The data is owned by the caller of the function.

Return value

Type: int

The XInput2 device ID.