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.

(cherry picked from commit 0e9eefb7d4)
This commit is contained in:
eska
2016-04-16 00:19:02 +02:00
committed by Rémi Verschelde
parent 9f5c6cf950
commit 98b30e3aff
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;