#include <KeyboardManager.h>
When there are changes in keyboard manager it will call the appropriate function on your instance of this class to inform you of the change.
◆ keyPressed()
virtual void KeyboardListener::keyPressed |
( |
char |
key, |
|
|
bool |
held |
|
) |
| |
|
pure virtual |
A key has been pressed or held down.
- Parameters
-
key | the character code for the key |
held | if held down |
◆ keyReleased()
virtual void KeyboardListener::keyReleased |
( |
char |
key | ) |
|
|
pure virtual |
A key has been released
- Parameters
-
key | the character code of the key |
The documentation for this class was generated from the following file: