IInput.h
Input symbol types.
enum EType { Button, Toggle, RawAxis, Axis, Trigger };
IInput.h
EDeviceId deviceId;
Which device does the symbol belong to.
uint8 deviceIndex;
Device index - controller 1/2 etc
const uint32 devSpecId;
Device internal id of this symbol (we will use it to look it up).
const EKeyId keyId;
External id for fast comparison.
const TKeyName name;
Human readable name of the event.
EInputState state;
Current state.
const EType type;
Type of this symbol.
uint32 user;
Type dependent value (toggle-mask for toggles).
float value;
Current value.
void AssignTo(SInputEvent& event, int modifiers = 0);
void ChangeEvent(float v);
void PressEvent(bool pressed);