Tactility/docs/ideas.md
Ken Van Hoeylandt d171b9a231
Display brightness support (#26)
* cleanup

* brightness control and app

* cleanup

* persistant storage of display settings

* fix for missing include

* header cleanup

* fix pc build

* add docs

* move display app to tactility project
2024-01-31 20:39:12 +01:00

1.9 KiB

TODOs

  • Update view_port to use ViewPort as handle externally and ViewPortData internally
  • Replace FreeRTOS semaphore from Loader with internal Mutex
  • Create unit tests for tactility-core and tactility (PC-only for now)
  • Have a way to deinit LVGL drivers that are created from HardwareConfig
  • Thread is broken: tt_thread_join() always hangs because tt_thread_cleanup_tcb_event() is not automatically called. This is normally done by a hook in FreeRTOSConfig.h but that seems to not work with ESP32. I should investigate task cleanup hooks further.
  • Set DPI in sdkconfig for Waveshare display
  • Try to drive Yellow Board backlight with PWM to reduce backlight strength
  • Show a warning screen if firmware encryption or secure boot are off when saving WiFi credentials.
  • Show a warning screen when a user plugs in the SD card on a device that only supports mounting at boot.
  • Try out Waveshare S3 120MHz mode for PSRAM (see "enabling 120M PSRAM is necessary" in docs)
  • Fix for dark theme: the wifi icons should use the colour of the theme (they remain black when dark theme is set)

Core Ideas

  • Make a HAL? It would mainly be there to support PC development. It's a lot of effort for supporting what's effectively a dev-only feature.
  • Support for displays with different DPI. Consider the layer-based system like on Android.
  • Display orientation support for Display app
  • If present, use LED to show boot status

App Improvement Ideas

  • Make a Settings app to show all the apps that have a "settings" app type (and hide those in desktop)
  • Sort desktop apps by name.
  • Light/dark mode selection in Display settings app.

App Ideas