: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` The Wayland implementation of ``GdkDevice``\. Beyond the regular :obj:`~gi.repository.Gdk.Device` API, the Wayland implementation provides access to Wayland objects such as the ``wl_seat`` with :obj:`~gi.repository.GdkWayland.WaylandDevice.get_wl_seat`\, the ``wl_keyboard`` with :obj:`~gi.repository.GdkWayland.WaylandDevice.get_wl_keyboard` and the ``wl_pointer`` with :obj:`~gi.repository.GdkWayland.WaylandDevice.get_wl_pointer`\. 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() -> ~typing.Any | None Returns the ``xkb_keymap`` of a ``GdkDevice``\. .. versionadded:: 4.4