Maps raw input from any raw input source and outputs Pressed, Held, and Released input events. More...
#include <InputEventMap.h>
Inherits StartingPointInput::InputSubComponent, and AzFramework::InputChannelEventListener.
Inherited by StartingPointInput::ThumbstickInputEventMap.
Public Member Functions | |
AZ_RTTI (InputEventMap, "{A14EA0A3-F053-469D-840E-A70002F51384}", InputSubComponent) | |
void | Activate (const InputEventNotificationId &eventNotificationId) override |
void | Deactivate (const InputEventNotificationId &eventNotificationId) override |
Public Member Functions inherited from StartingPointInput::InputSubComponent | |
AZ_RTTI (InputSubComponent, "{3D0F14F8-AE29-4ECC-BC88-26B8F8168398}") | |
virtual void | Activate (const InputEventNotificationId &channel)=0 |
virtual void | Deactivate (const InputEventNotificationId &channel)=0 |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *reflection) |
Protected Types | |
using | InputEventType = void(InputEventNotificationBus::Events::*)(float) |
Protected Attributes | |
InputEventNotificationId | m_outgoingBusId |
bool | m_wasPressed = false |
float | m_eventValueMultiplier = 1.f |
AZStd::string | m_inputName = "" |
AZStd::string | m_inputDeviceType = "" |
float | m_deadZone = 0.0f |
Maps raw input from any raw input source and outputs Pressed, Held, and Released input events.
|
overridevirtual |
InputSubComponents will share the life-cycle API's of components. Any Component that contains an InputSubComponent is expected to call these methods in their Activate/Deactivate methods
Implements StartingPointInput::InputSubComponent.
|
overridevirtual |
Implements StartingPointInput::InputSubComponent.