summaryrefslogtreecommitdiff
path: root/lua/main.lua
AgeCommit message (Collapse)Author
2025-03-19ailurux/button-media-controls (#264)ailurux
Splits the control scheme into separate schemes for the side buttons and touchwheel, allowing them to be configured independently of each other. At least one input must be used for navigation, and there are guards to prevent locking oneself out of any input. If the input scheme is invalid, a pop up will show alerting the user. Different behaviours can be bound to the side buttons for when the device is locked or unlocked. This PR also adds a mode for these buttons that controls media playback (prev/next on up/down, pressing both buttons toggles play/pause). There are some changes to the way inputs handle locking. Rather than the input devices tracking the current locked mode, different input devices are created on lock depending on the mode that is configured. Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/264 Co-authored-by: ailurux <ailurux@noreply.codeberg.org> Co-committed-by: ailurux <ailurux@noreply.codeberg.org>
2025-01-08Add missing copyright/license headersTom Kirchner
2024-12-18Add long-right-press as a shortcut to the now playing screenjacqueline
Implemented for both the wheel and d-pad input methods.
2024-10-01GC after lockingjacqueline
2024-09-10Rename set_style to set_subjectailurux
2024-08-29use snake_case consistently in lua function namesjacqueline
2024-08-12daniel/theme-setting (#87)ailurux
- Themes can be loaded from disk and built-in - Themes can be selected in a new themes menu of the settings screen - Some touch-ups to existing themes - The saved theme is persisted in nvs Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/87 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-07-03Load fonts asynchronously on a bg taskjacqueline
This saves a second or two from bootup; AFAICT this *mostly* reclaims the dynamic fonts boot time regression.
2024-06-27remove chatty logjacqueline
2024-05-03Respond to sd card mounts and unmounts within luajacqueline
Includes no longer blocking the main menu on an sd card being inserted!!
2024-03-27Update icons and volume dialogue to use themesailurux
2024-03-20Fix bad mergeailurux
2024-03-20Merge branch 'main' into themesailurux
2024-03-20Fairyfloss dark theme palette testailurux
2024-03-18Better styling for settings pages + dropdown menusailurux
2024-03-10WIP Lua Theming- style classesailurux
2024-03-07Add other styles to lua themeailurux
2024-03-07WIP: Getting styles from luaailurux
2024-03-07Show the now playing screen after being locked for a whilejacqueline
2024-01-06move default theme into styles, for easier lua overridesjacqueline
2024-01-05add an alerts module for lua, and implement a volume indicator with itjacqueline
2023-11-23Add a second font, flesh out browser screenjacqueline
2023-11-20Use C functions for the backstack, instead of a lua modulejacqueline
Working with the default group and root kinda sucks if you have to do it from lua!
2023-11-14Add two-way databinding for lua, and flesh out the lua statusbarjacqueline
2023-11-12Convert the main menu screen to lua loljacqueline