Class: GtcInteractionEventUtils
A utility class for working with GTC interaction events.
Constructors
constructor
• new GtcInteractionEventUtils(): GtcInteractionEventUtils
Returns
Methods
hEventMap
▸ hEventMap(orientation
, instrumentIndex
): (hEvent
: string
) => undefined
| GtcHardwareControlEvent
Maps an H event to a GtcHardwareControlEvent for a GTC.
Parameters
Name | Type | Description |
---|---|---|
orientation | GtcOrientation | The orientation of the GTC. |
instrumentIndex | number | Which instrument index of the GTC. |
Returns
fn
The mapped event, or undefined if no matching event or index.
▸ (hEvent
): undefined
| GtcHardwareControlEvent
Parameters
Name | Type |
---|---|
hEvent | string |
Returns
undefined
| GtcHardwareControlEvent
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcInteractionEvent.ts:98