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

html5: workaround for echo key events.

(cherry picked from commit 352db6b17e)
This commit is contained in:
hondres
2016-03-04 20:26:39 +01:00
committed by Rémi Verschelde
parent 848c7378fd
commit afd75013f9
3 changed files with 27 additions and 2 deletions

View File

@@ -693,7 +693,11 @@ OS_JavaScript::OS_JavaScript(GFXInitFunc p_gfx_init_func,void*p_gfx_init_ud, Ope
time_to_save_sync=-1;
for (int i = 0; i < 256; i++) {
key_pressed[i] = false;
if (i < 121)
skey_pressed[i] = false;
}
}
OS_JavaScript::~OS_JavaScript() {