◆ KeyIsDown()
bool hpl::Keyboard::KeyIsDown |
( |
Common::KeyCode |
aKey | ) |
|
- Parameters
-
- Returns
- true if pressed else false
◆ GetKey()
Can be checked many times to see all key presses
- Returns
- key that is currently pressed. eKey_NONE is no key.
◆ KeyIsPressed()
bool hpl::Keyboard::KeyIsPressed |
( |
| ) |
|
- Returns
- If ANY key is pressed
◆ GetModifier()
int hpl::Keyboard::GetModifier |
( |
| ) |
|
- Returns
- The current modifiers.
◆ KeyToString()
tString hpl::Keyboard::KeyToString |
( |
Common::KeyCode |
eKey | ) |
|
- Parameters
-
eKey | The key to change to string. |
- Returns
- The name of the key as a string.
◆ StringToKey()
Common::KeyCode hpl::Keyboard::StringToKey |
( |
tString |
| ) |
|
- Parameters
-
- Returns
- enum of the key.
◆ Update()
void hpl::Keyboard::Update |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: