ASGE
3.2.0
Simple Game Framework in GL
|
#include <InputEvents.hpp>
Public Attributes | |
int | key = -1 |
int | scancode = -1 |
int | action = -1 |
ASGE::KEYS::MODS | mods = 0 |
a key event
A key event provides any related information that can be used to drive a game.
Definition at line 61 of file InputEvents.hpp.
int ASGE::KeyEvent::action = -1 |
Key action. A key has been pressed or released.
Definition at line 65 of file InputEvents.hpp.
int ASGE::KeyEvent::key = -1 |
The key. The key in question.
Definition at line 63 of file InputEvents.hpp.
ASGE::KEYS::MODS ASGE::KeyEvent::mods = 0 |
Modifiers. Any modifiers applied i.e. ctrl, shift etc.
Definition at line 66 of file InputEvents.hpp.
int ASGE::KeyEvent::scancode = -1 |
Scancode. The unique scancode used to to represent the character.
Definition at line 64 of file InputEvents.hpp.