Class: GduInteractionEventUtils
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/GduInteractionEventUtils.ts:8
A utility class for working with GDU interaction events.
Constructors
Constructor
new GduInteractionEventUtils():
GduInteractionEventUtils
Returns
GduInteractionEventUtils
Methods
mfdHEventMap()
static
mfdHEventMap(): (hEvent
) =>undefined
|string
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/GduInteractionEventUtils.ts:78
Creates a function that maps H events to interaction events for an MFD.
Returns
A function that maps H events to interaction events for an MFD. If the H event cannot be mapped, then the
function will return undefined
.
(
hEvent
):undefined
|string
Parameters
Parameter | Type |
---|---|
hEvent | string |
Returns
undefined
| string
pfdHEventMap()
static
pfdHEventMap(pfdIndex
): (hEvent
) =>undefined
|string
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/GduInteractionEventUtils.ts:40
Creates a function that maps H events to interaction events for a PFD.
Parameters
Parameter | Type | Description |
---|---|---|
pfdIndex | PfdIndex | The index of the PFD for which to create the mapping function. |
Returns
A function that maps H events to interaction events for the specified PFD. If the H event cannot be
mapped, then the function will return undefined
.
(
hEvent
):undefined
|string
Parameters
Parameter | Type |
---|---|
hEvent | string |
Returns
undefined
| string