WaylandDevice

class WaylandDevice(**properties: Any)

Superclasses: Device, Object

Constructors:

WaylandDevice(**properties)

Methods

class WaylandDevice
get_node_path() str | None

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

For GdkDevice’s that possibly coalesce multiple hardware devices (eg. mouse, keyboard, touch,…), this function will return None.

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

get_xkb_keymap() None

Returns the xkb_keymap of a GdkDevice.

Added in version 4.4.