jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
10 months ago
jacqueline
984b874d7e
Fix some issues with the splash screen
...
- fix a use-after-free involving the alerts container that was
happening when showing the first screen
- fix some issues where the splash screen wouldn't come up as early as
it needs to when another bootup task was making heavy use of the spi
bus
10 months ago
jacqueline
e58dcf6dc5
WIP fix issues introduced by lvgl version bump
11 months ago
ailurux
7c107e739a
Add basic bluetooth queue controls
11 months ago
ailurux
8de07fe8fa
daniel/bluetooth-avrc ( #80 )
...
Have a squizzy and lemme know if any issues @cooljqln 🐝
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/80
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
11 months ago
jacqueline
344a46d066
Respond to sd card mounts and unmounts within lua
...
Includes no longer blocking the main menu on an sd card being inserted!!
1 year ago
jacqueline
26eb580043
move driver includes into a subdir as well
1 year ago
jacqueline
7d7f7755d1
start moving include files into subdirs
1 year ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
1 year ago
jacqueline
920345b940
Support getting a tree of controls + hooks via lua
1 year ago
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
1 year ago
jacqueline
cc255f6d77
Suspend property bindings when their screens aren't visible
1 year ago
jacqueline
d1bf21fcf7
exec a config file on sd
1 year ago
jacqueline
33919e9e3f
Migrate all existing control schemes to the cool new world
1 year ago
jacqueline
ed82063af5
WIP decompose our giant LVGL driver into smaller classes
1 year ago
jacqueline
5f1a6507d8
Warn and block MSC disable if the sd card is busy
1 year ago
jacqueline
654fde5f68
Support disabling automatic database updates
1 year ago
jacqueline
078b77d0f7
pass stream start/update/end events through the whole pipeline
1 year ago
jacqueline
175bfc4e3e
WIP rewrie audio pipeline+fsm guts for more reliability
1 year ago
jacqueline
dadac304dd
Add very basic usb msc ui
1 year ago
jacqueline
684ff50ef4
Add support for screens declaring that they can't be popped
...
Needed as prep for usb msc support; you really shouldn't leave the MSC
settings screen until you've disabled usb msc.
1 year ago
jacqueline
4cd3c187f9
Add exact display size to nvs, since it can vary
1 year ago
ailurux
20c2816a7b
Remove the White Square
1 year ago
jacqueline
eba5adeb8c
Show the now playing screen after being locked for a while
1 year ago
jacqueline
ef72b25660
use prototype inheritance for lua screens, rather than functions
...
this gives us a way to give each screen nice little hooks, like
'onShown' and 'onHidden'. later we can use these hooks to disable
bindings for screens that aren't in-use.
1 year ago
ailurux
5141c9f0bd
Add time.ticks to lua bridge
1 year ago
jacqueline
f9aec8b690
split the lua thread registry into its own files
1 year ago
jacqueline
4b2003c78a
Make property bindings shared amongst all lua threads
1 year ago
ailurux
665679b885
WIP: seeking in lua example
1 year ago
ailurux
0426d245c8
Scroll sensitivity configurable, but inverted
1 year ago
jacqueline
26df5c4a7f
Remember per-device bluetooth volume
1 year ago
ailurux
9512bd97bb
Add buttons for shuffle + repeat track
1 year ago
jacqueline
aff28342d9
let the bluetooth stack handle its own discovery state
1 year ago
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
1 year ago
jacqueline
e073309907
Properly persist bluetooth mode changes
1 year ago
jacqueline
299f3cc48f
Preserve the queue when going into standby
1 year ago
jacqueline
ee867f2dbc
add an indicator for database updates
1 year ago
Robin Howard
3f1fadbeef
Plumb queue next+previous through to Lua, incl. with stubs and docs.
1 year ago
jacqueline
cd650b30bd
fix some lua stack leaks + add a console func to help debug
1 year ago
jacqueline
c1b7a0c9f2
move lua ui-related data to spi ram
1 year ago
jacqueline
c0ec19c496
fix some properties that got copied wrong
1 year ago
jacqueline
71b4673039
all screens basically working, but bluetooth is rough
1 year ago
jacqueline
7cdcd44e0c
Begin migration of remaining screens to Lua
1 year ago
jacqueline
55bde70b96
add accurate esp and samd versions + expose this info to lua
1 year ago
jacqueline
34cae4e6e4
add an alerts module for lua, and implement a volume indicator with it
1 year ago
jacqueline
5a2f0b08e0
Centralise which level is 'locked'
1 year ago
jacqueline
bd730c82b0
Do db updates on the bg worker
1 year ago
jacqueline
ca5d7b867c
Add shuffle and repeat options for the playback queue
1 year ago
jacqueline
3f7f199cb9
Remove pre-iterator concepts
...
- No more IndexRecord/Result/dbGetPage nonsense
- Queue is just track ids
- i am so tired and have so much to do
1 year ago
jacqueline
852ce7b917
Add a back button gesture in clickwheel mode
1 year ago