Class: PfdControllerJoystickEventMapHandler
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/PfdControllerJoystickEventMapHandler.ts:38
Handles PFD controller joystick interaction events for a map. The handler will convert joystick interaction events to map pointer toggle, map pointer move, and map range change events as appropriate and forward the converted events to callback functions configured through options.
Constructors
Constructor
new PfdControllerJoystickEventMapHandler(
options?
):PfdControllerJoystickEventMapHandler
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/PfdControllerJoystickEventMapHandler.ts:51
Creates a new instance of PfdControllerJoystickEventHandler.
Parameters
Parameter | Type | Description |
---|---|---|
options? | Readonly <PfdControllerJoystickEventMapHandlerOptions > | Options with which to configure the handler. |
Returns
PfdControllerJoystickEventMapHandler
Methods
onInteractionEvent()
onInteractionEvent(
event
):boolean
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Input/PfdControllerJoystickEventMapHandler.ts:64
Handles an interaction event.
Parameters
Parameter | Type | Description |
---|---|---|
event | string | The interaction event to handle. |
Returns
boolean
Whether the interaction event was handled.