Data container for input events. More...
Public Member Functions | |
bool | KeyPressed (KeyId keyId) |
Detect if this event is about the specified key being pressed. More... | |
bool | KeyUp (KeyId keyId) |
Detect if this event is about the specified key being released. More... | |
bool | KeyChanged (KeyId keyId) |
Detect if this event is about the specified key being changed. More... | |
bool | KeyDown (KeyId keyId) |
Detect if the specified key is currently pushed down during this frame. More... | |
Properties | |
int | DeviceIndex [get, set] |
Local index of this particular controller type. More... | |
InputDeviceType | DeviceType [get, set] |
Device type from which the event originated. More... | |
int | DeviceUniqueId [get, set] |
Process wide unique controller ID. More... | |
KeyId | KeyId [get, set] |
Device-specific id corresponding to the event. More... | |
string | KeyName [get, set] |
Human readable name of the event. More... | |
InputModifierFlags | InputModifiers [get, set] |
Key modifiers enabled at the time of this event. More... | |
InputState | State [get, set] |
Type of input event. More... | |
float | Value [get, set] |
Value associated with the event. More... | |
Data container for input events.
|
inline |
Detect if this event is about the specified key being changed.
true
if the key has changed in this event, false
otherwise.keyId | Key identifier. |
|
inline |
Detect if the specified key is currently pushed down during this frame.
true
if key is being pressed during this frame, false
otherwise.keyId | Key identifier. |
|
inline |
Detect if this event is about the specified key being pressed.
true
if the key was pressed in this event, false
otherwise.keyId | Key identifier. |
|
inline |
Detect if this event is about the specified key being released.
true
if the key was released in this event, false
otherwise.keyId | Key identifier. |
|
get set |
Local index of this particular controller type.
The index of the device.
|
get set |
Device type from which the event originated.
The type of the device.
|
get set |
Process wide unique controller ID.
The device unique identifier.
|
get set |
Key modifiers enabled at the time of this event.
The modifiers.
|
get set |
Device-specific id corresponding to the event.
The key identifier.
|
get set |
Human readable name of the event.
The name of the key.
|
get set |
Type of input event.
The state.
|
get set |
Value associated with the event.
The value.