godot/platform/javascript
Fabio Alessandrelli 98b42ca958 [HTML5] Fix input not working when buffered.
After input buffering was reworked, input accumulation is now handled
outside of OS, and the JavaScript plaform never implemented that.
Additionally, the JavaScript platform is quite obnoxious about calling
specific APIs outside specific user triggered events.

This commit adds event flushing during the main iteration, and forces it
during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel
events (effectively only accumulating only "move" events).
2021-09-12 18:42:43 +02:00
..
api [HTML5] Fix JS build without eval. 2021-06-17 12:47:55 +02:00
export [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
js Update Godot Javascript FS library to manually depend on ERRNO_CODES. 2021-08-18 23:20:34 +02:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 15:35:38 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:01:42 -06:00
SCsub [HTML5] Add easy to use download API. 2021-05-21 16:03:38 +02:00
audio_driver_javascript.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
audio_driver_javascript.h Modernize Thread 2021-02-18 11:58:08 +01:00
detect.py [HTML5] Raise default initial memory to 32 MiB. 2021-07-13 17:03:44 +02:00
dom_keys.inc [HTML5] Add support for `physical_keycode`. 2021-05-06 23:19:46 +03:00
emscripten_helpers.py [HTML5] Export as Progressive Web App. 2021-04-27 15:09:03 +02:00
godot_audio.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_js.h [HTML5] Fix some JS library signature. 2021-06-17 12:47:54 +02:00
http_client.h.inc [HTML5] Use 64KiB chunk size in JS HTTPClient. 2021-05-09 17:14:35 +02:00
http_client_javascript.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
javascript_main.cpp [HTML5] Fix target_fps when window loses focus. 2021-05-09 17:14:36 +02:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
javascript_singleton.cpp [HTML5] Fix JavaScript string parsing with new interface. 2021-07-13 10:20:02 +02:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Fix input not working when buffered. 2021-09-12 18:42:43 +02:00
os_javascript.h [HTML5] Opt-in virtual keyboard support. 2021-03-11 20:58:09 +01:00
package-lock.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-17 12:47:55 +02:00
package.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-17 12:47:55 +02:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_icon.png