From 352db6b17eaed84fef930723a67c6fba40a4b099 Mon Sep 17 00:00:00 2001 From: hondres Date: Fri, 4 Mar 2016 20:26:39 +0100 Subject: html5: workaround for echo key events. --- platform/javascript/os_javascript.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'platform/javascript/os_javascript.h') diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index ec3a6cf911..4a8265b9d9 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -56,10 +56,12 @@ public: Point2 pos; }; + bool skey_pressed[121]; + bool key_pressed[256]; + private: Vector touch; - Point2 last_mouse; unsigned int last_id; GFXInitFunc gfx_init_func; -- cgit v1.2.3