summaryrefslogtreecommitdiffstats
path: root/movement/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make the TOTP face use the filesystem for secret storage (#95)James Haggerty2022-11-012-0/+287
| | | | | * TOTP using filesystem * Filesystem: ability to read files line by line
* static analysis: make __write static to avoid confusionJoey Castillo2022-04-102-7/+6
|
* Movement: Astronomy and Orrery watch faces (#55)joeycastillo2022-03-0412-3/+3911
|
* Sensor Watch Simulator (#35)Alexsander Akers2022-01-252-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Put something on screen * Use the 32bit watch_date_time repr to pass from JS * Implement periodic callbacks * Clear display on enabling * Hook up watch_set_led_color() to SVG (green-only) * Make debug output full-width * Remove default Emscripten canvas * Implement sleep and button clicks * Fix time zone conversion bug in beats-time app * Clean up warnings * Fix pin levels * Set time zone to browser value (if available) * Add basic backup data saving * Silence format specifier warnings in both targets * Remove unnecessary, copied files * Use RTC pointer to clear callbacks (if available) * Use preprocessor define to avoid hardcoding MOVEMENT_NUM_FACES * Change each face to const preprocessor definition * Remove Intl.DateTimeFormat usage * Update shell.html title, header * Add touch start/end event handlers on SVG buttons * Update shell.html * Update folder structure (shared, simulator, hardware under watch-library) * Tease out shared components from watch_slcd * Clean up simulator watch_slcd.c inline JS calls * Fix missing newlines at end of file * Add simulator warnings (except format, unused-paremter) * Implement remaining watch_rtc functions * Fix button bug on mouse down then drag out * Implement remaining watch_slcd functions * Link keyboard events to buttons (for keys A, L, M) * Rewrite event handling (mouse, touch, keyboard) in C * Set explicit text UTF-8 charset in shell.html * Address PR comments * Remove unused directories from include paths
* movement: add sunrise/sunset faceJoey Castillo2022-01-152-0/+421
|
* fix missing prototype warningsJoey Castillo2021-12-101-2/+2
|
* add header guards, move declarations to source fileJoey Castillo2021-11-243-15/+25
|
* Properly vendor TOTP-MCU temporarilyWesley Ellis2021-11-238-0/+374
|
* Add initial TOTP watch face implWesley Ellis2021-11-221-0/+0
Vendor code from https://github.com/Netthaw/TOTP-MCU to do the heavy lifting of computing SHA-1 and HMAC and the rest of TOTP Also implement a date_time to unix timestamp method