Commit Graph

13 Commits

Author SHA1 Message Date
Romain Goyet
9825c73238 [ion/emscripten] Actual implementation of Ion::Keyboard::scan
This allows interrupting Python scripts on the Emscripten port
2018-11-08 17:11:17 +01:00
Romain Goyet
5b77c84903 [emscripten] Add an update script 2018-06-26 14:13:31 +02:00
Romain Goyet
e6a8e0e198 [emscripten] Use the navigator's language 2018-06-26 14:13:31 +02:00
Romain Goyet
5eb4d9ccf6 [emscripten] Fix key handling 2018-06-26 14:13:31 +02:00
Romain Goyet
fc1d887695 [emscripten] Update the HTML page 2018-06-26 14:13:31 +02:00
Romain Goyet
c4330ae7b1 Use <span> instead of <a> for the keys
Indeed, a keypress on the Enter key submits the last active links,
resulting in double inputs.
2018-04-18 10:04:18 +02:00
Émilie Feral
af877c19bb [build] Add a flag MODULARIZE when building with
emscripten toolchain
2018-03-22 11:58:56 +01:00
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Adrien Bertrand
76dbea981d [emscripten] Fix save screenshot feature 2018-02-02 17:48:42 +01:00
Romain Goyet
67f082f4e8 [emscripten] Use emterpreter
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Romain Goyet
1e538600e3 Add the ability to take a screenshot in the packaged web simulator 2017-12-12 09:43:06 +01:00
Léa Saviot
1ce6f36651 [code] Fixed the wait for user input after drawing using Python.
A SandboxController is now pushed on the StackViewController and sets the
KDIonContext::sharedContext before drawing, sets a white background and handles
user input after the Python computation to dismiss the drawing screen.

Change-Id: I51b0474365a85e845227379a16d090541fa8ded7
2017-12-01 13:19:28 +01:00
Romain Goyet
9a41ee8ad9 Add the ability to package the web simulator 2017-11-06 21:54:18 +01:00