Class: UiInteractionMapper
A mapper of H events to UiInteractionEvents.
Constructors
constructor
• new UiInteractionMapper(instrumentIndex
): UiInteractionMapper
Creates a new instance of UiInteractionMapper.
Parameters
Name | Type | Description |
---|---|---|
instrumentIndex | number | The index of the instrument for which this mapper maps events. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiInteractionMapper.ts:32
Methods
mapEvent
▸ mapEvent(hEvent
): undefined
| UiInteractionEvent
Maps an H event to its corresponding UiInteractionEvent.
Parameters
Name | Type | Description |
---|---|---|
hEvent | string | The H event to map. |
Returns
undefined
| UiInteractionEvent
The UiInteractionEvent corresponding to the specified H event, or undefined
if the H event
could not be mapped.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiInteractionMapper.ts:46