diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-03-05 13:05:49 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-03-05 13:05:49 +0100 |
commit | 6b1ca582f94b23e000e8c930586bf980e12e622c (patch) | |
tree | bcc798ce24953cd7a45bc4c865e071f571773e5d /platform/javascript/os_javascript.h | |
parent | 5a9b18b665b250b54c0d8eb80354dc08e363377c (diff) | |
parent | 352db6b17eaed84fef930723a67c6fba40a4b099 (diff) |
Merge pull request #3920 from Hinsbart/js_echo_keys
html5: workaround for echo key events.
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r-- | platform/javascript/os_javascript.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<TouchPos> touch; - Point2 last_mouse; unsigned int last_id; GFXInitFunc gfx_init_func; |