A handler for a single input event. More...
#include <ManualControlEventHandler.h>
Inherits StartingPointInput::InputEventNotificationBus::Handler.
Public Types | |
using | OnHeldHandlerFunction = AZStd::function< void(float)> |
Public Member Functions | |
ManualControlSingleEventHandler (const AZStd::string &eventName, OnHeldHandlerFunction handler) | |
void | Activate () |
void | Deactivate () |
A handler for a single input event.
|
inline |
Construct the event handler.
eventName | which event to handle (eg "steering", "accelerate") |
handler | a function which handles the input, typically through re-publishing it to a vehicle input bus. |