351 Commits

Author SHA1 Message Date
Gordon Williams
bb0e56594f tweak 2022-12-15 14:12:42 +00:00
Gordon Williams
8d0ae537ec Bangle.js2: Improve touchscreen handling to handle out of range data from the controller on some devices 2022-12-15 14:11:56 +00:00
Gordon Williams
d8555bfa7e Bangle.js2: Decode touchscreen high bytes 2022-12-14 16:29:50 +00:00
Gordon Williams
8c83923bb8 Quick possible fix for large positive offsets for touch at top of screen 2022-12-14 15:29:39 +00:00
Gordon Williams
e5eda7bc5d update getHealth docs 2022-12-14 09:25:39 +00:00
Gordon Williams
970089d785 minor barometer timeout tweak - may improve reliablility 2022-11-25 09:02:30 +00:00
Gordon Williams
fe16d94964 Bangle.js2: Fix issue where Bangle.getPressure could leave the barometer on 2022-11-23 11:40:12 +00:00
Gordon Williams
fa34cf78f3 Merge branch 'master' of github.com:espruino/Espruino 2022-11-16 16:28:30 +00:00
Gordon Williams
c267c7da01 updated built-in code 2022-11-16 16:03:31 +00:00
Martin Boonk
a6c5360129 Fix typo 2022-11-16 12:19:57 +01:00
Martin Boonk
9fa477a69a E.showScroller_Q3 - Give coordinates in item to select callback 2022-11-16 12:11:31 +01:00
Gordon Williams
f4c9c4fc6e Update docs based on https://github.com/espruino/BangleApps/pull/2261#issuecomment-1315561896 2022-11-15 17:00:31 +00:00
Gordon Williams
962542e6a3 Added more docs 2022-11-11 11:55:14 +00:00
Martin Boonk
df5472ef33 Remove checking for default app during Bangle.load() 2022-11-11 12:32:42 +01:00
Martin Boonk
87f9d9a23d Merge remote-tracking branch 'upstream/master' into loading 2022-11-11 12:26:51 +01:00
Martin Boonk
be4eca105c Adds Bangle.load and Bangle.showClock methods 2022-11-10 22:33:13 +01:00
Martin Boonk
dd6c290462 Fix JSON 2022-11-10 20:50:26 +01:00
Martin Boonk
ce3c05466a Adds documentation for E.show* remove methods 2022-11-10 20:45:11 +01:00
Gordon Williams
86b3ea1c45 new default firmware 2022-11-09 11:26:22 +00:00
thyttan
3d4fdfbaef
Update jswrap_bangle.c 2022-11-09 11:58:36 +01:00
thyttan
05371e0a7e
Clarify re back in setUI
Just  a suggestion
2022-11-09 11:52:15 +01:00
Gordon Williams
8524ac0071 remove debug numbers 2022-11-07 09:40:22 +00:00
Gordon Williams
6b2cfe669b linux build for Bangle.js2 (good for testing 3 bit graphics lib) 2022-11-05 10:50:13 +00:00
Gordon Williams
e2453c0bf1 tweaked storage type of factory flash image to remove compile warnings 2022-11-05 10:14:01 +00:00
Gordon Williams
211d57306f Bangle.js: Remove F_BEEPSET feature flag (now 3 years old) 2022-11-01 09:30:16 +00:00
Gordon Williams
3566505b67 Bangle.js: Compass 'heading' now provides correct value (without 360-heading) required 2022-11-01 09:29:36 +00:00
Martin Boonk
35def9f931 Check widgets for width > 0 before including in appRect 2022-10-28 22:39:21 +02:00
Gordon Williams
3bab5c60a8 updated default apps 2022-10-28 14:55:28 +01:00
Gordon Williams
5345b5f71f Bangle.js2: Swipe direction is now modified based on g.setRotation
https://github.com/espruino/BangleApps/issues/1040#issuecomment-1285869844
2022-10-21 13:29:16 +01:00
Gordon Williams
94170863ae Store touch coordinates in signed values - fix https://github.com/espruino/BangleApps/issues/2181 2022-10-20 10:24:03 +01:00
Gordon Williams
d4a1cf9f90 Bangle.js2: Add built-in touchscreen calibration 2022-10-19 13:38:51 +01:00
Gordon Williams
73ca4597bb Bangle.js: Add Bangle.setOptions({btnLoadTimeout:...}) to allow home button timeout to be configurable
Bangle.js: A forced interrupt after button held now occurs 0.5s (not 0.1s) after the reboot request
            Bangle.js: Holding the button during storage compact now won't try and break out of it
2022-10-13 15:01:09 +01:00
Gordon Williams
3005974010 Allow atob to accept base64 with whitespace inside it 2022-09-28 09:55:03 +01:00
Gordon Williams
ed32a35e7b Bangle.js2: Fixed Bangle.setLCDOverlay(img,x,y) with negative offsets 2022-09-28 09:39:57 +01:00
Gordon Williams
0e4dcbd3f3 Add support for Bangle.setUI({remove:...}) to allow apps to be unloaded without a full reboot. 2022-09-23 11:52:54 +01:00
Gordon Williams
cb56dbce34 update to latest apps 2022-08-11 14:02:44 +01:00
Gordon Williams
0d323d82fe
Merge pull request #2254 from qucchia/typescript
Typescript
2022-07-28 08:37:50 +01:00
qucchia
12148963bc TypeScript: Buttons 1 - 5 2022-07-27 17:37:41 +02:00
Gordon Williams
18c56cfc57 oops - fix merge error 2022-07-27 16:02:09 +01:00
Gordon Williams
30b18ee2b6 Merge branch 'bangle2_lcd_overlay' 2022-07-27 16:00:06 +01:00
Gordon Williams
d6d37dfb2e Bangle.js2: Added Bangle.setLCDOverlay(img,x,y) to allow an image to be overlaid on top of screen contents (eg for notifications) 2022-07-27 15:58:22 +01:00
Gordon Williams
6e73a8ed03 First try, using Graphics instance (should move to image) 2022-07-27 14:54:51 +01:00
qucchia
c5bb94bf7a Limit documentation comments to 80 characters (#2244) 2022-07-27 15:32:19 +02:00
Gordon Williams
aa58f0ed3c
Merge pull request #2250 from qucchia/typos
Typos
2022-07-27 13:42:50 +01:00
qucchia
ba30e2f018 Typos 2022-07-27 13:31:13 +02:00
qucchia
83f1c338ed TypeScript: Graphics 2022-07-27 12:51:48 +02:00
qucchia
7435ff4a63 TypeScript: Bangle 2022-07-27 10:54:28 +02:00
qucchia
ae9d4e2923 TypeScript: declare globals ‘g’ and ‘WIDGETS’ 2022-07-23 20:22:54 +02:00
qucchia
6b45a91fd1 Declare some custom TypeScript types 2022-07-23 20:16:15 +02:00
qucchia
1cb82b2280 Explicitly explain some optional parameters 2022-07-21 12:49:45 +02:00