:right-sidebar: True WaylandDevice =================================================================== .. currentmodule:: gi.repository.GdkWayland .. class:: WaylandDevice(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gdk.Device`, :class:`~gi.repository.GObject.Object` :Constructors: :: WaylandDevice(**properties) Methods ------- .. rst-class:: interim-class .. class:: WaylandDevice :no-index: .. method:: 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 :const:`None`. This is most notably implemented for devices of type ``%GDK_SOURCE_PEN``, ``%GDK_SOURCE_TABLET_PAD``. .. method:: get_xkb_keymap() -> None Returns the ``xkb_keymap`` of a ``GdkDevice``. .. versionadded:: 4.4