interface MAGES::IGenericInputActions¶
Overview¶
Interface for the generic actions that can be performed on the device. More…
interface IGenericInputActions { // methods void AddActionOnPerform(Action action); void AddActionOnUndo(Action action); void AddActionOnEnableMovement(Action action); void AddActionOnEnableOptions(Action action); void AddActionOnToggleRaycastActivation(Action action); }; // direct descendants class InputController; class MAGESDeviceManagerV2;
Detailed Documentation¶
Interface for the generic actions that can be performed on the device.
Deprecated This interface is deprecated and will be removed in future versions. See DeviceManagerModule.OnDriverEvent
Methods¶
void AddActionOnPerform(Action action)
Adds an action to be called when one of the perform buttons are pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
action |
The action that will be called. |
void AddActionOnUndo(Action action)
Adds an action to be called when one of the undo buttons are pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
action |
The action that will be called. |
void AddActionOnEnableMovement(Action action)
Adds an action to be called when the enable movement button is pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
action |
The action that will be called. |
void AddActionOnEnableOptions(Action action)
Adds an action to be called when the enable options button is pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
action |
The action that will be called. |
void AddActionOnToggleRaycastActivation(Action action)
Adds an action to be called when the toggle raycast button is pressed.
Deprecated This function is deprecated and will be removed in future versions. Please use DeviceManager’s OnDriverEvent to listen for events.
Parameters:
action |
The action that will be called. |