Pre-Processes CryEngine's Input callback and generates Input events. Classes may be registered here, in order to receive global Input events. More...
Classes | |
class | InputListener |
struct | KeyState |
Static Public Member Functions | |
static Vector2 | GetAxis (string name) |
Returns the value of and axis by name. Can be used to retrieve EyeTracker values. More... | |
static bool | KeyUp (KeyId key) |
Used to detect if a key is not being pressed in the current frame. More... | |
static bool | KeyDown (KeyId key) |
Used to detect if a key is being hold down in the current frame. More... | |
static float | GetInputValue (KeyId key) |
Get the current input value for the specified key. More... | |
Events | |
static Action< InputEvent > | OnKey |
Fired when a key-state was modified More... | |
Pre-Processes CryEngine's Input callback and generates Input events. Classes may be registered here, in order to receive global Input events.
|
inline static |
Returns the value of and axis by name. Can be used to retrieve EyeTracker values.
name | Name. |
|
inline static |
Get the current input value for the specified key.
key | Key. |
|
inline static |
Used to detect if a key is being hold down in the current frame.
true
if the key is down, false
otherwise.key | Key. |
|
inline static |
Used to detect if a key is not being pressed in the current frame.
true
if the key is up, false
otherwise.key | Key. |
|
static get |
Set if Shift key is held Down
true
if shift down; otherwise, false
.
|
static |
Fired when a key-state was modified