Peter Cai
949917e3cd
bma421: Use the INT_STATUS register to distinguish between gestures
...
Currently we have only one type of hardware-based gesture implemented,
but in the future there could be more.
9 months ago
Peter Cai
9848f0afd7
Move software fallback implementation of wake-on-raise to a separate class
10 months ago
Peter Cai
c816d1db35
Re-introduce software-based gesture fallback
...
The algorithm still has to be adjusted for the new mapping.
10 months ago
Peter Cai
a15cc6697d
bma421: Flip all axes
...
This is what the hardware requires for gesture detection to work (all
clockwise directions should be positive, and counterclockwise directions
are negative).
TODO: Correct all software logic to match
10 months ago
Peter Cai
6332f11502
Initial implementation of interrupt-based wrist tilt detection on BMA425
10 months ago
Peter Cai
c08eb7c350
bma42x: Set hardware-based axes remapping
10 months ago
Peter Cai
3cb60d7705
Initialize accelerometer during system init
...
It was originally only initialized in the step counter, but this won't
work when the step counter app is disabled.
10 months ago
Peter Cai
40c3928ce1
Disable debugging by default
...
Some issues with pointer conversion will be reported (due to a missing
macro call). For now, let's just set -Wno-error for that.
10 months ago
Peter Cai
d31165106b
Nuke steplogger entirely
...
I DONT NEED THIS AT ALL
10 months ago
Peter Cai
04380f9362
Add missing conditionals for raise-to-wake
10 months ago
Peter Cai
d3846be32d
Do not enable Faces by default
10 months ago
Peter Cai
0162b306be
Remove the dual_clock watch face
...
I don't use this and it saves us some space due to the font
10 months ago
Peter Cai
0fff5cbb35
Add SleepTk into the software menu
10 months ago
Peter Cai
e7f53f1d25
SleepTk: Adapt for mainline accel_xyz() impl
10 months ago
Peter Cai
978b647cea
Disable more apps
...
...and remove the disabled apps from the Software app
10 months ago
Peter Cai
a7a20608b2
Revert "Remove more unused apps"
...
This reverts commit f38a9391c3
.
10 months ago
Peter Cai
c8c58f80e1
Build SleepTk
10 months ago
Peter Cai
3571e14f81
Add 'external/SleepTk/' from commit '7ce31f74f19b943b43d1f65ad778f68b9820ef38'
...
git-subtree-dir: external/SleepTk
git-subtree-mainline: f38a9391c3
git-subtree-split: 7ce31f74f1
10 months ago
Peter Cai
f38a9391c3
Remove more unused apps
...
...to make room for SleepTk
10 months ago
Peter Cai
402a02e3aa
Remove some unused apps
...
The step counter app is special-cased in wasp.py. Remove that as well.
10 months ago
Peter Cai
f4ad9fb4cd
Disable the step counter app
...
Why do I need this :D
10 months ago
Peter Cai
bb8f651481
Improve raise-to-wake algorithm
...
From <https://github.com/InfiniTimeOrg/InfiniTime/pull/826 >, with
constants tuned a bit for my personal preference.
10 months ago
Ashley Eastwood
244230bad9
Add a Raise To Wake feature
...
This commit adds a setting (off by default) that allows the watch
to wake up when the user raises it to look at the screen. This
functionality has mostly been translated from the way that infinitime
implements the feature.
Tested and developed on the Pinetime.
Signed-off-by: Ashley Eastwood <aeastw.git@fastmail.co.uk>
10 months ago
Peter Cai
5a6dd6124b
Add env/ to .gitignore
10 months ago
thiswillbeyourgithub
7ce31f74f1
new: ramp up over 60s instead of 10
10 months ago
thiswillbeyourgithub
9ca0760a3b
minor: typo
10 months ago
thiswillbeyourgithub
c2994a5fa1
docs: mention time to fall asleep
10 months ago
thiswillbeyourgithub
f5bc059cad
feat: ramp up vibration to avoid waking up the gf
10 months ago
thiswillbeyourgithub
1a5c552df8
feat: automatically updates hours when minutes is updated
10 months ago
Daniel Thompson
af59556a65
Merge pull request #277 from fgaz/beacon
...
Add beacon app
10 months ago
Daniel Thompson
a527624cfa
Merge branch 'master' into beacon
10 months ago
thiswillbeyourgithub
c63c29fe76
fix: by fgaz, thanks!
...
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
10 months ago
thiswillbeyourgithub
e5802839ec
new: brightness and color change of flashlight
...
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
10 months ago
Francesco Gazzetta
9adeea17bb
Allow to set accel sensor orientation
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
e3168b3b12
Add level app
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
c47c911fe3
Expose acceleration data
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
thiswillbeyourgithub
3de209fa04
new: turn off tracking by default
10 months ago
Francesco Gazzetta
4d4c83e851
Docs and constants for hrs3300.set_drive()
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
0cca03a94b
Use functions from driver in beacon app
...
Instead of setting registers from the app.
* add wasp.drivers.hrs3300.set_hwt()
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
a72285eea3
Add beacon app
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
fd5d6cbbe8
Make Slider.touch return True when the value changed
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
Francesco Gazzetta
9a1964ce41
Add hrs3300 write_reg and read_reg to simulator
...
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
10 months ago
thiswillbeyourgithub
f3516cc755
minor: smaller string
11 months ago
thiswillbeyourgithub
09af1440ef
docs: explain that Manager.run is not usually run
...
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
11 months ago
thiswillbeyourgithub
0aa11d9a7f
fix: disaBLE app out of sync
...
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
11 months ago
thiswillbeyourgithub
96ab17075d
fix: vibration duty cycle from 50 to 25
11 months ago
thiswillbeyourgithub
e0dde35c1b
minor: renamed time_to_fall_asleep to minute_to_fall_asleep
11 months ago
thiswillbeyourgithub
c78c0b12d5
new: gradual wake by default over 10m instead of 15
11 months ago
thiswillbeyourgithub
db9350dffc
fix: wrong string printed at the end of ringing
11 months ago
thiswillbeyourgithub
4201f264a9
fix: properly reload screen after stopping alarm
11 months ago