Method

GdkWayland.WaylandDevice.get_node_path

Declaration [src]

const char*
gdk_wayland_device_get_node_path (
  GdkDevice* device
)

Description [src]

Returns the /dev/input/event* path of this device.

For GdkDevices that possibly coalesce multiple hardware devices (eg. mouse, keyboard, touch,…), this function will return NULL.

This is most notably implemented for devices of type GDK_SOURCE_PEN, GDK_SOURCE_TABLET_PAD.

Return value

Returns: const char*

the /dev/input/event* path of this device

Ownership is not transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string