mini_arcade_pygame_backend.ports.input ====================================== .. py:module:: mini_arcade_pygame_backend.ports.input .. autoapi-nested-parse:: Input port implementation for the pygame backend. Provides functionality to poll and map input events. Attributes ---------- .. autoapisummary:: mini_arcade_pygame_backend.ports.input.PYGAME_KEY_TO_KEY Classes ------- .. autoapisummary:: mini_arcade_pygame_backend.ports.input.InputPort Module Contents --------------- .. py:data:: PYGAME_KEY_TO_KEY :type: dict[int, mini_arcade_core.backend.keys.Key] .. py:class:: InputPort Input port for the Mini Arcade pygame backend. .. py:method:: poll() -> list[mini_arcade_core.backend.events.Event] Poll for input events and map them to core events. :return: A list of core events. :rtype: list[Event]