map keys and handle key events on Android and OS X

This commit is contained in:
2017-04-17 19:35:48 +02:00
parent 54082591f1
commit 45cf8c9168
11 changed files with 595 additions and 68 deletions

View File

@@ -52,7 +52,7 @@ public:
bool mouse_move(float x, float y);
bool mouse_up(int button, float x, float y);
bool mouse_scroll(float x, float y, float delta);
bool key_down(int key);
bool key_up(int key);
bool key_char(int key);
bool key_down(kKey key);
bool key_up(kKey key);
bool key_char(char key);
};