C4 Engine
C4 Engine API Documentation

Action::HandleEngage

Defined in:  C4Input.h
Called when an associated input control is engaged.
Prototype

virtual void HandleEngage(void);

Description
The HandleEngage function is called when an input control to which the action object is assigned is engaged by the user. For example, when a key is pressed, a mouse button is clicked, or a button on a joystick is pressed, the HandleEngage function is called for any action object assigned to the control. When the user releases the control, the Action::HandleDisengage function is called for the action object.
See Also

Action::HandleDisengage

Action::HandleDirectionalUpdate

Action::HandleAxisUpdate

Action::HandleSliderUpdate