![]() |
rag
graphic 2d engine
|
Singleton class that dispatches Keyboard events. More...
#include <KeyboardManager.h>
Public Member Functions | |
void | nativeInsertText (std::string text) |
When called, will generate a standard multi-platform KeyboardEvent. | |
void | nativeDeleteBackward () |
When called, will generate a standard multi-platform KeyboardEvent. | |
![]() | |
void | addEventListener (std::string type, EventListener *listener) |
void | dispatchEvent (Event &event) |
bool | hasEventListener (std::string type) |
void | removeEventListener (std::string type, EventListener *listener) |
Static Public Member Functions | |
static KeyboardManager & | getInstance () |
Static Public Attributes | |
static const int | RETURN_KEYBOARD_CODE = 10 |
Singleton class that dispatches Keyboard events.