struct SInputEvent { EDeviceId deviceId; EInputState state; wchar_t inputChar; TKeyName keyName; EKeyId keyId; int modifiers; float value; SInputSymbol* pSymbol; uint8 deviceIndex; };
IInput.h
InputEvents are generated by input system and dispatched to all event listeners.
EDeviceId deviceId;
Which device did the event originate from.
uint8 deviceIndex;
Controller index
wchar_t inputChar;
If event is UI (Contains translated input char)
EKeyId keyId;
Device-specific id corresponding to the event.
TKeyName keyName;
Human readable name of the event.
int modifiers;
Key modifiers enabled at the time of this event.
SInputSymbol* pSymbol;
Input symbol the event originated from.
EInputState state;
Type of input event.
float value;
Value associated with the event.
void GetMemoryUsage(ICrySizer * pSizer) const;
SInputEvent();