mini_arcade_native_backend.mapping.events ========================================= .. py:module:: mini_arcade_native_backend.mapping.events .. autoapi-nested-parse:: Event mapping between native backend events and core events. This module defines the NativeEventMapper class, which is responsible for translating events received from the native backend into the standardized event format used by the mini-arcade core. Classes ------- .. autoapisummary:: mini_arcade_native_backend.mapping.events.NativeEventMapper Module Contents --------------- .. py:class:: NativeEventMapper(native_mod: mini_arcade_native_backend._native) Maps native backend events to core events. :param native_mod: The native backend module providing event definitions. :type native_mod: module .. py:method:: to_core(ev: mini_arcade_native_backend._native.Event) -> mini_arcade_core.backend.events.Event Maps a native event to a core event. :param ev: The native event to map. :type ev: native.Event :return: The mapped core event. :rtype: Event