Reimplement key input events in Emscripten export

Scancodes work, but unicode values are now completely broken in some
browser/OS combinations.
This commit is contained in:
eska committed 2016-04-19 14:02:26 +02:00
1 parent 925aa086a2
commit 0e9eefb7d4
4 files changed
+435 -121

No files matched your search

-3
View File
@@ -56,9 +56,6 @@ public:
Point2 pos;
};
bool skey_pressed[121];
bool key_pressed[256];
private:
Vector<TouchPos> touch;