Matheus Afonso Martins Moreira
d70511515e
faces/totp: decode secrets when setting up
...
This allows the user to easily copy the base32 encoded secrets
into the TOTP record initializers. They will be decoded once
at runtime when the face is being set up by the movement framework.
Also rename the array of TOTP records to credentials. Much better.
2024-02-25 22:50:47 -03:00
Matheus Afonso Martins Moreira
1c0050c97b
faces/totp: update copyright and license data
...
Update the copyrights to include full name attribution
to all who contributed to this watch face, including myself.
Also add an SPDX license identifier header comment to the files.
https://spdx.org/licenses/MIT.html
2024-02-21 03:25:29 -03:00
Matheus Afonso Martins Moreira
0ebd94c4e1
faces/totp: delete unused structure field
...
The TOTP watch face now keeps track of each key separately.
There is no need to compute offsets at runtime.
2024-02-20 23:24:01 -03:00
Matheus Afonso Martins Moreira
79cfe315ff
faces/totp: update watch face logic for new struct
...
Using the new structured TOTP record data structure
allows the TOTP watch face to statically and implicitly
compute the total number of defined TOTP records.
Users can now simply add new keys and records in the designated area
and the watch face will compile and automatically use them with no need
to maintain a separate array size variable. Less chance of mistakes.
2024-02-20 23:20:21 -03:00
Matheus Afonso Martins Moreira
bbb920a5d8
faces/totp: define current TOTP data function
...
Selects the appropriate TOTP data structure
given the TOTP watch face state.
2024-02-20 23:18:00 -03:00
Matheus Afonso Martins Moreira
48e7fb1a7c
faces/totp: define TOTP data array size function
...
Computes the size of the array of TOTP records.
The compiler will likely evaluate it at compile time.
2024-02-20 23:16:41 -03:00
Matheus Afonso Martins Moreira
a99f6a716f
faces/totp: update example data to new structure
...
The data definitions are much shorter and easier to read now.
2024-02-20 23:15:15 -03:00
Matheus Afonso Martins Moreira
8a7d9326cf
faces/totp: define TOTP struct initializer macro
...
Generates a compound initializer for the given TOTP parameters.
Lessens repetition and allows functional definitions of TOTP records.
2024-02-20 23:12:53 -03:00
Matheus Afonso Martins Moreira
67907e4e5c
faces/totp: define TOTP data structure
...
Aggregates all the data necessary for TOTP generation.
2024-02-20 23:10:13 -03:00
Wesley Aptekar-Cassels
f16ce6a767
Merge branch 'main' into watch-face-simple-coin-flip
2024-01-21 02:01:27 -05:00
Wesley Aptekar-Cassels
29784983b5
Merge branch 'main' into watch-face-solstice
2024-01-21 01:58:20 -05:00
Pietro F. Maggi
8e0e942573
Handle visibility for tomato watchface
...
(cherry picked from commit 547e8248ba3538693ee8c587a92ffece7b40d1a2)
2024-01-07 12:43:18 +01:00
PrimmR
1b90a4a07a
Kitchen Conversions Face
2023-12-01 15:33:38 -05:00
Wesley Aptekar-Cassels
a2f1ba9171
Merge branch 'main' into day_one_face
2023-11-27 23:08:28 -05:00
Alex Utter
7802994854
Fix missing documentation for many clock faces:
...
* Move from .c to .h as needed for consistency.
* When missing from both, copy from pull request or wiki.
* When missing entirely, infer functionality from source code.
2023-11-27 23:06:19 -05:00
Ekaitz Zárraga
735bbc97d7
Merge branch 'main' into couch-2-5k
2023-11-19 15:36:52 +01:00
Ekaitz Zarraga
f77ddc83b8
Resign when the entering LE
2023-11-19 15:31:56 +01:00
Ekaitz Zarraga
30c8da7f55
Fit naming conventions
2023-11-19 15:28:45 +01:00
Wesley Aptekar-Cassels
3b9fd8b0e9
Merge pull request #302 from LtKeks/Sensor-Watch-bugfix-timer_face-datatype
...
timer_face - Possibility to set seconds as default values
2023-11-18 23:12:51 -05:00
Christian Buschau
984990fb66
day_one_face: show set date on short alarm button press
2023-11-17 09:11:18 +01:00
Christian Buschau
e8b7985dde
day_one_face: enable quick cycle through settings
...
This allows the alarm button to be held down in the date settings and
quickly cycle through the dates instead of having to push for each
single increment like in other faces.
2023-11-17 09:11:18 +01:00
Christian Buschau
1022359252
day_one_face: allow years until 2080
...
This is the same limit introduced in commit 7fd51ca
2023-11-17 09:11:18 +01:00
Christian Buschau
8c7e9fa558
day_one_face: cleanup
2023-11-17 09:11:16 +01:00
Wesley Aptekar-Cassels
73f689e65a
Add simple_coin_flip_face.
2023-11-08 19:29:56 -05:00
Wesley Aptekar-Cassels
dcf167a8bf
Add solstice_face.
2023-11-06 18:01:44 -05:00
Ekaitz Zarraga
d3d76ed0e7
Add sound to pause/resume button
2023-10-21 15:47:26 +02:00
Ekaitz Zarraga
cde6ae3598
Add Couch-To-5k training face
2023-10-21 01:30:03 +02:00
LtKeks
ad846f5060
Update timer_face.c
...
Corrects the data type of the standard values in order to be able to configure seconds as well.
2023-10-15 17:35:36 +02:00
Per Waagø
9e88f37ced
new face: Tuning tones
...
Add a new face that plays out tones that can be used as a
reference when tuning musical instruments.
2023-09-06 21:46:31 +02:00
Jose Castillo
07f150fbec
Merge pull request #253 from Kistelini/counter
...
Counter face: change sound to non-blocking, add option to deactivate sound
2023-07-29 07:48:16 -04:00
joeycastillo
e5dcc9d1b7
counter face: move beep_on to watch face state
2023-07-29 07:43:51 -04:00
joeycastillo
1377d36622
silence warnings
2023-07-29 07:03:49 -04:00
Hein-NonesensE
ed8149a759
Counter face: change sound to non-blocking, add option to deactivate sound
2023-07-04 17:02:31 +02:00
joeycastillo
b49259e4e0
add basic flashlight function
2023-06-29 16:17:19 -04:00
randogoth
d348482759
geomancy.c warnings fix ( #240 )
2023-05-18 07:44:50 -04:00
TheOnePerson
45d9b97f07
timer face: fix problem with messed up durations for repeating timers / always beep when starting a timer
2023-05-18 13:10:32 +02:00
randogoth
432de34709
deobfuscated code, fixed warnings
2023-04-16 21:54:26 +03:00
joeycastillo
00541bd9c5
fix most warnings
2023-04-16 11:06:11 -04:00
randogoth
c4da02ca2c
Randonaut Watch Face ( #233 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* original README
* updated place_face
* fallback to register location
* removed pointless freq req
* reset config
* fixed dependency issue
* minor bugfixes
* saved a bit :)
* fix
2023-04-16 11:00:44 -04:00
randogoth
721887de3a
Coin & Dice Toss & Geomantic Divination Watch Faces ( #235 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* init
* basic functions
* all needed static functions done
* progress
* coins and dice done
* progress
* place update
* divination faces functionality done
* better divine_bit
* figure numbers and names
* captions optional
* coin animation
* dice animation & optimizations
* animation
* changed names, documented
* bugfix
* cleanup
* reset config
---------
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 11:00:08 -04:00
joeycastillo
bfeca93008
silence warnings around morsecalc
2023-04-16 10:56:08 -04:00
joeycastillo
e083f9b386
silence most warnings
2023-04-16 10:49:03 -04:00
joeycastillo
eb71681779
Revert "Coin & Dice Toss & Geomantic Divination Watch Faces ( #235 )"
...
This reverts commit 34030bf3e403b2043dcd9f960189d93190dcbb0c.
2023-04-16 10:46:52 -04:00
joeycastillo
00e641c2a7
Revert "Randonaut Watch Face ( #233 )"
...
This reverts commit a3fe36f6dbdbde331fb7c10138e4b0c3fa8ad298.
2023-04-16 10:46:44 -04:00
randogoth
a3fe36f6db
Randonaut Watch Face ( #233 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* original README
* updated place_face
* fallback to register location
* removed pointless freq req
* reset config
* fixed dependency issue
* minor bugfixes
* saved a bit :)
* fix
2023-04-16 10:29:42 -04:00
randogoth
34030bf3e4
Coin & Dice Toss & Geomantic Divination Watch Faces ( #235 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* init
* basic functions
* all needed static functions done
* progress
* coins and dice done
* progress
* place update
* divination faces functionality done
* better divine_bit
* figure numbers and names
* captions optional
* coin animation
* dice animation & optimizations
* animation
* changed names, documented
* bugfix
* cleanup
* reset config
---------
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 10:16:10 -04:00
randogoth
ccf44281e7
Dual Timer, a variant of the Stock Stopwatch ( #236 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* original README
* updated place_face
* fallback to register location
* removed pointless freq req
* init
* dual chronograph
* documented and cleaned up
* unused var warning fix
* swap TC2 with TC3 to avoid conflict
* conflict
* show active when returning to face
* docu
* removed unneeded file
* added remain
* show screen on startup
* simplified mode button
2023-04-16 10:13:51 -04:00
randogoth
2b87623611
Planetary Hours Faces ( #234 )
...
* initial setup & test
* simplified solar calulcation function
* Initial Release
* initial setup
* UTC offset fixes
* finished and cleaned up
* renamed faces
* optimizations & astro symbols
* wrapping ruler
* cleanup
* optimizations
* merged latest place_face
* documentation
* fixed faster seconds
* removed place_face from branch
* reset config
---------
Co-authored-by: NN Solex <info@sublunar.space>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 10:13:21 -04:00
Bernd Plontsch
bfde33c946
Adding Breathing complication ( #220 )
...
* Added complication
* Including complication in build configuration
* Clean up
* restore default watch face selection
* Fixed comment
* Remove unused
* Made functions internal
---------
Co-authored-by: Bernd Plontsch <bernd@plontsch@gmail.com>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 10:04:46 -04:00
Christian Chapman
0a836cecea
Morsecalc refactor ( #229 )
...
* Added Morse code based RPN calculator
* added manual and memory register
* fixed morsecalc negative indicator, edited header comment
* adjusted stack display controls
* Fixed warnings. Added calculator token aliasing ability. Added binary shorthand for numeral entry. Extended morse code binary tree.
* ui tweaks
* Update movement_config.h
* silence warning
* Reorganized codebase and simplified morse code reading routines.
* added 'quit if submission is empty' behavior
* reverted rules.mk change for merge into main
* corrected timeout behavior
* consolidated morsecode lib into one file; deleted old mc.c mc.h
* consolidated morsecode lib into one file; deleted old mc.c mc.h
* removed specious null in morsecode bintree string
---------
Co-authored-by: Christian Chapman <user@debian>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 10:01:03 -04:00