395 Commits

Author SHA1 Message Date
Gordon Williams
9105cd73a5 Bangle.js: Disable touch buttons if screen off
Bangle.js: Don't send 'up' event for a button that was used to wake the screen
2020-02-05 11:55:30 +00:00
Gordon Williams
c003325402 Add Bangle.getCompass and Bangle.getAccel to get the latest compass/accelerometer readings without a callback 2020-01-27 11:29:24 +00:00
Gordon Williams
b3aeb08073 Bangle.js: Add Bangle.showLauncher 2020-01-17 11:02:36 +00:00
Gordon Williams
d8d937c333 Bangle.js: add Bangle.loadWidgets/drawWidgets
Bangle.js: Remove deprecated Bangle.menuBangle.js: add Bangle.loadWidgets/drawWidgets
2020-01-16 16:36:11 +00:00
Gordon Williams
6d1b258406 Add Graphics.reset, and ensure it (and g.clear(1)) unreference custom fonts 2020-01-15 17:03:27 +00:00
Gordon Williams
24dac197a5 Allow Storage.read to make partial file reads (fix #1744) 2020-01-13 11:20:58 +00:00
Gordon Williams
038a0e9093 Bangle.js: Bangle.setLCDMode now errors if it can't allocate a flat string (also garbage collects and defrags to try and ensure it can) 2020-01-07 14:24:53 +00:00
Gordon Williams
3251c043d6 Less cryptic and more stable touch recognition. Handles middle press well now 2019-12-11 10:34:14 +00:00
Gordon Williams
bd23f37fe7 Significantly better touch/swipe detection 2019-12-10 15:38:21 +00:00
Gordon Williams
e7259896c4 docs 2019-12-10 15:20:28 +00:00
Gordon Williams
9d5b6f9339 Add Graphics.setClipRect to allow draw ops to be restricted to a certain area
Bangle.js: add 'null' LCD mode to stop apps from drawing
            Bangle.js: add Bangle.getLCDMode
2019-12-04 17:00:05 +00:00
Gordon Williams
3bdafd892f Bangle.js: add fake LED/LED1/LED2 as @allObjects suggested 2019-12-04 11:59:12 +00:00
Gordon Williams
577065d450 docs 2019-12-03 16:00:26 +00:00
Ákos Lukács
b7763b702d
Small docs fixes 2019-12-03 13:34:28 +01:00
Gordon Williams
3751dc8453 Add terminal and lowres modes to emulator, and attempt to remove as many emscripten-related hacks as possible so we follow Bangle.js closely 2019-12-03 11:01:36 +00:00
Gordon Williams
cf2e0727d7 Bangle.js: New 120x120 and 80x80 high speed buffered modes (could be faster) 2019-12-02 17:33:56 +00:00
Gordon Williams
d5e724a6cd notes 2019-11-27 16:49:41 +00:00
Gordon Williams
c923bbc06d Bangle.js: Added heart rate autocorrelation, setHRMPower and 'HRM' event 2019-11-27 16:40:08 +00:00
Gordon Williams
a80bad7656 Add E.showMenu/etc to compile 2019-11-26 15:25:13 +00:00
Gordon Williams
3847326d60 Bangle.js: EVents for 'swipe' and 'touch' on the touchscreen 2019-11-22 12:05:31 +00:00
Gordon Williams
bf7b90c433 Bangle.js: Add Bangle.setLCDBrightness 2019-11-20 15:34:50 +00:00
Gordon Williams
e5521e003d minor tweaks 2019-11-12 16:43:16 +00:00
Gordon Williams
45bcd987ad Bangle.js now doesn't display logo if using 'load' (avoids flicker when going back to clock).
Added step counter
2019-11-06 08:54:33 +00:00
Gordon Williams
9ce4c48628 Add bangle logo 2019-11-05 11:14:43 +00:00
Gordon Williams
b9a9c1cdb3 Added built in gestures 2019-11-04 12:22:45 +00:00
Gordon Williams
0b88bc0c27 Now use BTN3 to go back to the clock 2019-10-31 15:39:53 +00:00
Gordon Williams
a96bf2c659 Added E.showPrompt, E.showAlert for Bangle.js
Also start responding to button pressed on IRQ rather than polling
2019-10-31 15:34:54 +00:00
Gordon Williams
720738944f Add E.showMenu, deprecate Pixl.menu - use a common function to ease porting between devices 2019-10-31 11:23:04 +00:00
Gordon Williams
7c07e265d2 bigger menu font 2019-10-31 09:41:30 +00:00
Gordon Williams
a1d2371016 Ensure a buttonpress goes to the menu right after the timeout, not just when released 2019-10-25 15:34:08 +01:00
Gordon Williams
46b8be07ba add charge event 2019-10-25 09:53:17 +01:00
Gordon Williams
dee73b5fae abstract away custom battery percentage info, increase screen timeout to 30s 2019-10-24 11:55:46 +01:00
Gordon Williams
e62b692661 reset LCD power timeout each time device restarts 2019-10-21 16:24:40 +01:00
Gordon Williams
0576558e5f updating F5 firmware 2019-10-18 13:57:52 +01:00
Gordon Williams
d208ffd756 More work on tap detect - nothing yet 2019-10-17 17:25:52 +01:00
Gordon Williams
5d5d3fc628 improve auto-on functionality 2019-10-17 12:11:09 +01:00
Gordon Williams
6d52308886 Add .beep and buzz 2019-10-16 14:54:22 +01:00
Gordon Williams
6a19652cf0 Add gesture recording into firmware 2019-10-16 11:32:49 +01:00
Gordon Williams
8e777dd169 tweak 2019-10-15 17:19:15 +01:00
Gordon Williams
e4a306e364 bring old f5 more in line with the new watch 2019-10-11 15:23:36 +01:00
Gordon Williams
75bc0132c0 re-add f5 variant 2019-10-11 14:56:58 +01:00
Gordon Williams
5fa9c7d770 fix GPS time's timezone 2019-10-11 14:29:02 +01:00
Gordon Williams
1b8ce18cea Allow a configurable poll interval, and lower accelerometer output rate to 25Hz 2019-10-10 13:46:35 +01:00
Gordon Williams
7e6661cdde Add gps fix/satellites count and fix reporting when no fix
Reduce btn1->load timeout to 1.5s
make counters based on ms (to allow different poll frequencies)
magnetometer reports NaN if magnetometer doesn't seem calibrated
2019-10-10 12:24:41 +01:00
Gordon Williams
2306783bbf Banglification 2019-10-09 16:47:46 +01:00