Skip to main content

Class: GtcInteractionEventUtils

A utility class for working with GTC interaction events.

Constructors

constructor

new GtcInteractionEventUtils(): GtcInteractionEventUtils

Returns

GtcInteractionEventUtils

Methods

hEventMap

hEventMap(orientation, instrumentIndex): (hEvent: string) => undefined | GtcHardwareControlEvent

Maps an H event to a GtcHardwareControlEvent for a GTC.

Parameters

NameTypeDescription
orientationGtcOrientationThe orientation of the GTC.
instrumentIndexnumberWhich instrument index of the GTC.

Returns

fn

The mapped event, or undefined if no matching event or index.

▸ (hEvent): undefined | GtcHardwareControlEvent

Parameters
NameType
hEventstring
Returns

undefined | GtcHardwareControlEvent

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcInteractionEvent.ts:98