Commit Graph
805 Commits
Author SHA1 Message Date
jacqueline 1573a8c4cd WIP merge cyclically dependent components into one big component 2024-05-02 19:12:26 +10:00
jacqueline a231fd1c8a Replace cpp::span shim with std::span 2024-05-02 17:06:25 +10:00
jacqueline f852e44715 version bump 2024-04-29 13:54:32 +10:00
jacqueline 1736f7874b Use double-clicks instead of long-presses for wheel shortcuts 2024-04-29 13:53:11 +10:00
jacqueline b255ea799e Add lua bindings for override input hooks 2024-04-29 12:42:16 +10:00
jacqueline 920345b940 Support getting a tree of controls + hooks via lua 2024-04-24 16:06:10 +10:00
jacqueline 531475e351 Enable bluetooth after boot, not during boot
This avoids some bluetooth-related devices being delivered before
BootComplete
2024-04-23 10:19:25 +10:00
jacqueline 84dbe074c5 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-22 16:06:51 +10:00
jacqueline db9e5cce1f Improve handling of the display
- Blank the display when locking to prevent burn-in
 - Delay turning the display on until *exactly* after the first lvgl flush
 - Init the display in the ui task to avoid blocking the rest of boot
2024-04-22 16:00:53 +10:00
ailurux 4eb1a074f7 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-22 09:48:21 +10:00
ailurux dfccf56f34 Add support for 64-bit float wav files 2024-04-22 09:48:08 +10:00
jacqueline 5b99267cb9 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-19 16:52:33 +10:00
jacqueline 8e113ea9ae squash a bunch of warnings 2024-04-19 16:51:53 +10:00
Robin Howard 7c075cf5b7 Adds LRA haptic support (open-loop only for now). 2024-04-19 16:03:53 +10:00
Robin Howard e39754ba10 Fix DRV2065L register usage: we were accidentally setting control2 when we meant control3. 2024-04-19 16:03:53 +10:00
jacqueline 354ba0325a version bump 2024-04-19 12:45:02 +10:00
jacqueline 727847017d Add a button to update the samd's firmware 2024-04-19 12:44:44 +10:00
ailuruxandcooljqln 7f630cebdd daniel/recycler-list (#66)
@cooljqln should be good to merge to main, give it a look over though please? :)

Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/66
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-04-19 02:06:37 +00:00
jacqueline b17f8a3dcc Merge the StatusBar bindings table with each screen's bindings table 2024-04-18 11:38:53 +10:00
jacqueline cc255f6d77 Suspend property bindings when their screens aren't visible 2024-04-18 10:06:45 +10:00
jacqueline 874218e3ff Fix some bt device issues
- Don't allow adjusting volume if there's no device
 - Cap bt nvs values correctly
 - Persist bt volumes correctly even when the encoded for has a null
   byte (facepalm 4 me)
2024-04-15 14:53:41 +10:00
jacqueline 1baaa6dadc Use more generic 'hooks' for each input device's actions 2024-04-15 14:18:20 +10:00
jacqueline c24dfa6846 make boot go fast 2024-04-12 15:49:41 +10:00
jacqueline 166e8feb3c copy audacious' math it looks good 2024-04-12 15:11:56 +10:00
jacqueline ade0094595 switch to software volume scaling (it's bad tho i need daniel to do maths for me please) 2024-04-12 14:36:03 +10:00
jacqueline b319b3f07f Version bump 2024-04-12 10:20:32 +10:00
jacqueline 49bd389528 use our spi flash in its fastest mode 2024-04-12 10:12:19 +10:00
jacqueline e34842516e show a preview of the new track position while scrubbing 2024-04-11 17:20:41 +10:00
cooljqln dd1ea595a7 Merge pull request 'jqln/input-devices' (#62) from jqln/input-devices into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/62
Reviewed-by: ailurux <ailurux@noreply.codeberg.org>
2024-04-11 07:02:53 +00:00
jacqueline f580928cba Remember the source of the previous track when opening a new one 2024-04-11 16:38:34 +10:00
jacqueline 3276d113fc Use a fix scrubber range on the playing screen
this ensure that the amount the scrubber moves for each tick of the
input remains consistent, even when tracks have very different durations
2024-04-11 16:37:57 +10:00
jacqueline d1bf21fcf7 exec a config file on sd 2024-04-11 15:42:24 +10:00
jacqueline 33919e9e3f Migrate all existing control schemes to the cool new world 2024-04-11 15:16:35 +10:00
jacqueline ed82063af5 WIP decompose our giant LVGL driver into smaller classes 2024-04-10 16:56:10 +10:00
jacqueline 2e59325c22 Go to the start of the current track before the previous track when hitting back 2024-04-09 14:15:03 +10:00
jacqueline a6f8468ad5 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-09 11:46:12 +10:00
jacqueline e5c6ffdb8b Unmount storage when there's a bad error 2024-04-09 11:44:20 +10:00
jacqueline f93e3c1c69 fix some struct defaults in low-level drivers 2024-04-09 11:19:41 +10:00
jacqueline 6e73f1a22e Upgrade fatfs component version 2024-04-09 11:04:42 +10:00
ailurux f20ca9583a Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-08 15:40:16 +10:00
ailurux 01ae3fee30 Status bar consistency improvements 2024-04-08 15:40:07 +10:00
jacqueline 96b62321c3 fix some issues with settings screen styling 2024-04-08 15:29:57 +10:00
jacqueline 5f1a6507d8 Warn and block MSC disable if the sd card is busy 2024-04-08 13:50:35 +10:00
jacqueline 251c0ba96d Fix null poiner dereference when turning off i2s output twice 2024-04-04 15:15:42 +11:00
jacqueline 673b6a33ef version bump 2024-04-02 21:20:37 +11:00
jacqueline 63bc8cf896 Ensure we always clean up after ourselves when invoking bindings
this fixes a very nasty lua stack leak
2024-04-02 21:19:54 +11:00
jacqueline c24479d4d8 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-04-02 20:42:19 +11:00
jacqueline 654fde5f68 Support disabling automatic database updates 2024-04-02 20:41:36 +11:00
jacqueline 1e278d55c4 tweak db performance
- leveldb cache pinned to spiram
 - actually use it during indexing lol
 - all up, saves about 10ms per file (amortised) for an incremental reindex
2024-04-02 19:36:35 +11:00
cooljqln b229f452a6 Merge pull request 'lua-volume' (#60) from lua-volume into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/60
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2024-04-02 04:19:50 +00:00