1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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
2016-04-16 00:19:02 +02:00
parent 925aa086a2
commit 0e9eefb7d4
4 changed files with 435 additions and 121 deletions

View File

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