summaryrefslogtreecommitdiff
path: root/lua/settings.lua
AgeCommit message (Collapse)Author
2025-02-07Add centre button haptic feedback on touch, and setting to disable/lessen ↵ailurux
haptics (#246) This adds a way for feedback devices to respond to events from outside of LVGL's event system, being passed from input device to feedback device through a vector. This was done so that touch events and long-press triggers can now give feedback through haptics. This PR also adds haptic modes, saved in nvs similarly to input and locked input modes, to disable or change the haptic effect behaviour based on which mode is selected. Finally, this also fixes a bug in which some click events would not trigger haptics, at the expense of re-introducing the (undesired?) behaviour of clicking a button that transitions to a new screen causing a double click. Relevant issues this should close: #195, #233, and (partially?) #120 Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/246 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2025-02-06Add missing UI element descriptions for TTS.Tursiae
2025-02-06Add widget descriptions where missing.Tursiae
2025-02-04Fix merge issue breaking control settings screenailurux
2025-02-03Merge pull request 'Add optional support for adjusting volume while locked' ↵cooljqln
(#230) from teisenbe/tangara-fw:locked_input into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/230
2025-02-02Add optional support for changing volume while lockedTess Eisenberger
This adds a new Controls setting for adjusting the behavior when locked, and an option for allowing volume control.
2025-02-01Autofocus controls in settings screensRockwell Schrock
2025-01-14Merge pull request 'Ensure settings sections are in view' (#177) from ↵cooljqln
tjk/tangara-fw:settings-scroll into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/177
2025-01-12Ensure Audio section header in settings is visibleTom Kirchner
2025-01-08Add missing copyright/license headersTom Kirchner
2025-01-02Invert the balance value in the settings UIjacqueline
Fixes #167
2024-12-29Write settings to nvs when changing from the setting screenClayton Craft
Otherwise, settings may not actually be saved if the device crashes/ reboots unexpectedly. Fixes #148
2024-12-30Set the min brightness setting to 20%jacqueline
This is quite dim, but also slightly higher than the 'screensaver' brightness in #127.
2024-10-01Don't enable usb msc when the database is updatingjacqueline
2024-09-19Add quick USB MSC access to the main menujacqueline
2024-09-12daniel/theme-tweaks (#102)ailurux
- Multiple improvements + fixes - Add charge outline icon for improving readability with monochromatic themes - Add a chevron icon and update existing dropdown menus - Rename `set_style` to `set_subject` for disambiguation with lvgl's Style type Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/102 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-09-10Rename set_style to set_subjectailurux
2024-09-10Use '/sd' instead of '/sdcard' for accessing the sd cardjacqueline
it's cleaner
2024-09-09High contrast theme + Icon Improvements (#100)ailurux
Updated settings icon, rounded the circular play/pause icons, and addition of a new high contrast theme. Would be good to get feedback on the high contrast theme at this stage, as my intention is to use it as the basis for other 2-colour themes. One issue I'm aware of is the charge indicator when recoloured to black is not very legible on the black battery icon. I am planning on adding an additonal outline image that can be recoloured to the background colour to make it stand out more. Happy to fix that in a later PR or I can add it now but it will take a bit of work. Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/100 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-08-29Style regulatory icons so they are visible with the light themeailurux
2024-08-29use snake_case consistently in lua function namesjacqueline
2024-08-16Add cool skeumorphic embossingjacqueline
2024-08-15Some UI/themes tweaksailurux
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-24Add a settings screen with power+battery infojacqueline
Mostly for debugging, but also u can toggle fast charging off and on now
2024-07-17Fix an error in the scroll sensitivity UIjacqueline
2024-07-17Add a screen for FCC and CE regulatory nonsensejacqueline
2024-07-12Give Bluetooth settings a bit of a refreshjacqueline
It's now a bit more responsive to stuff happening, gives you more information, and remembers your previously paired devices for faster switching between them.
2024-07-11WIP improve bluetooth api and settings screenjacqueline
2024-04-19Add a button to update the samd's firmwarejacqueline
2024-04-18Merge the StatusBar bindings table with each screen's bindings tablejacqueline
2024-04-08fix some issues with settings screen stylingjacqueline
2024-04-08Warn and block MSC disable if the sd card is busyjacqueline
2024-04-02Support disabling automatic database updatesjacqueline
2024-03-28Merge branch 'main' into themesailurux
2024-03-21Dont allow quitting the msc screen when msc is enabledjacqueline
2024-03-21Add very basic usb msc uijacqueline
2024-03-20Merge branch 'main' into themesailurux
2024-03-18Better styling for settings pages + dropdown menusailurux
2024-03-07WIP: Getting styles from luaailurux
2024-03-07use prototype inheritance for lua screens, rather than functionsjacqueline
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.
2024-02-13Sensitivity value now between 0 and 255ailurux
2024-02-12Scroll sensitivity configurable, but invertedailurux
2024-02-06fix bt settings button initial statejacqueline
2024-01-17Make reindex button work; no feedback yetjacqueline
2024-01-17all screens basically working, but bluetooth is roughjacqueline
2024-01-15Begin migration of remaining screens to Luajacqueline