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