You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi - sorry for the delay. If you want to make it hang around you can just do setInterval("", 1000) - as long as there is something to execute it'll stay running.

    But I'm afraid there's no input event handling - honestly the Linux build is there mainly for testing, so sometimes I use SDL to display the result of doing something on Graphics, but I don't do anything two-way. Normally I just use createArrayBuffer and dump the output to a file with g.asBMP().

    I guess if you wanted to actually develop Bangle.js apps you could build for the https://github.com/espruino/Espruino/blo­b/master/boards/BANGLEJS2_LINUX.py board - but that doesn't use SDL - adding it for IO would be a reasonable undertaking.

About

Avatar for Gordon @Gordon started