Skip to content

Fixes and improvements - #616

Merged
KenVanHoeylandt merged 18 commits into
mainfrom
develop
Aug 18, 2026
Merged

Fixes and improvements#616
KenVanHoeylandt merged 18 commits into
mainfrom
develop

Conversation

@KenVanHoeylandt

@KenVanHoeylandt KenVanHoeylandt commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • USB keyboards are detected and connected dynamically, with improved LVGL input support.
    • Apps can specify compatible device IDs.
    • App Hub restores its scroll position and filters apps for supported devices.
  • Bug Fixes
    • Improved hardware and software keyboard detection.
    • Standardized application and service identifiers.
    • Updated application data storage paths for consistent settings and user data handling.
  • Documentation
    • Clarified audio codec integration guidance and licensing information.

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2e4421ce-e8e1-4e35-b868-29411a421d76

📥 Commits

Reviewing files that changed from the base of the PR and between 4c53a84 and 6da80e9.

📒 Files selected for processing (5)
  • Documentation/ideas.md
  • Drivers/audio-codec-module/README.md
  • Modules/app-module/source/app_metadata_parsing.cpp
  • Platforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cpp
  • Tactility/Source/lvgl/KeyboardDeviceListener.cpp
💤 Files with no reviewable changes (1)
  • Drivers/audio-codec-module/README.md
🚧 Files skipped from review as they are similar to previous changes (3)
  • Modules/app-module/source/app_metadata_parsing.cpp
  • Tactility/Source/lvgl/KeyboardDeviceListener.cpp
  • Platforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cpp

Included review availability: Your plan includes up to 4 reviews per rolling hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

This change adds TactilityKernelCpp and an tt::Allocator wrapper. It renames many app, service, launcher, and device IDs to tactility.*. It changes user-data path resolution and several settings file path lookups. It adds requires.device.id parsing to app metadata. It adds runtime USB keyboard child devices, a DEVICE_EVENT_STOPPING event, and LVGL keyboard listener support. It also updates AppHub state handling, USB input allocation cleanup, and related documentation.

Merge Risk: 🟠 High · up to 6da80

The change adds USB/HID keyboard and UI device lifecycle handling while renaming persistent app and settings namespaces. At the current head, teardown races could access deleted queues or destroyed UI state, and upgrades could make existing user data and settings unreachable; these high-impact risks should be fixed or explicitly accepted before merge.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 21.57% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is vague and does not identify the primary changes, which include app ID namespacing, keyboard support, and build integration. Replace the title with a concise summary of the main change, such as standardizing application IDs and adding USB keyboard support.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 12


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7d5f846e-4eef-43f6-8323-81a3e24b40dd

📥 Commits

Reviewing files that changed from the base of the PR and between f943c4d and 4c53a84.

📒 Files selected for processing (140)
  • CMakeLists.txt
  • Devices/btt-panda-touch/device.properties
  • Devices/cl32/device.properties
  • Devices/cyd-2432s024c/device.properties
  • Devices/cyd-2432s024r/device.properties
  • Devices/cyd-2432s028r/device.properties
  • Devices/cyd-2432s028rv3/device.properties
  • Devices/cyd-2432s032c/device.properties
  • Devices/cyd-3248s035c/device.properties
  • Devices/cyd-4848s040c/device.properties
  • Devices/cyd-8048s043c/device.properties
  • Devices/cyd-e32r28t/device.properties
  • Devices/cyd-e32r32p/device.properties
  • Devices/elecrow-crowpanel-advance-28/device.properties
  • Devices/elecrow-crowpanel-advance-35/device.properties
  • Devices/elecrow-crowpanel-advance-50/device.properties
  • Devices/elecrow-crowpanel-basic-28/device.properties
  • Devices/elecrow-crowpanel-basic-35/device.properties
  • Devices/elecrow-crowpanel-basic-50/device.properties
  • Devices/es3c28p/device.properties
  • Devices/generic-esp32/device.properties
  • Devices/generic-esp32c6/device.properties
  • Devices/generic-esp32p4/device.properties
  • Devices/generic-esp32s3/device.properties
  • Devices/guition-jc1060p470ciwy/device.properties
  • Devices/guition-jc2432w328c/device.properties
  • Devices/guition-jc8048w550c/device.properties
  • Devices/heltec-wifi-lora-32-v3/device.properties
  • Devices/lilygo-tdeck-max/device.properties
  • Devices/lilygo-tdeck-plus/device.properties
  • Devices/lilygo-tdeck-pro/device.properties
  • Devices/lilygo-tdeck/device.properties
  • Devices/lilygo-tdisplay-s3/device.properties
  • Devices/lilygo-tdisplay/device.properties
  • Devices/lilygo-tdongle-s3/device.properties
  • Devices/lilygo-thmi/device.properties
  • Devices/lilygo-tlora-pager/device.properties
  • Devices/m5stack-cardputer-adv/device.properties
  • Devices/m5stack-cardputer/device.properties
  • Devices/m5stack-core2/device.properties
  • Devices/m5stack-cores3/device.properties
  • Devices/m5stack-papers3/device.properties
  • Devices/m5stack-stackchan/device.properties
  • Devices/m5stack-stickc-plus2/device.properties
  • Devices/m5stack-sticks3/device.properties
  • Devices/m5stack-tab5/device.properties
  • Devices/simulator/device.properties
  • Devices/tulip-4r11/device.properties
  • Devices/unphone/device.properties
  • Devices/waveshare-esp32-s3-geek/device.properties
  • Devices/waveshare-s3-lcd-13/device.properties
  • Devices/waveshare-s3-touch-lcd-128/device.properties
  • Devices/waveshare-s3-touch-lcd-147/device.properties
  • Devices/waveshare-s3-touch-lcd-43/device.properties
  • Devices/wireless-tag-wt32-sc01-plus/device.properties
  • Drivers/audio-codec-module/README.md
  • Firmware/Kconfig
  • Modules/app-module/include/app/metadata.h
  • Modules/app-module/private/app/private/app_metadata_parsing_internal.h
  • Modules/app-module/source/app_metadata_parsing.cpp
  • Modules/app-module/source/app_metadata_parsing_v2.cpp
  • Modules/app-module/source/app_paths.cpp
  • Modules/gps-module/source/gps_settings.cpp
  • Modules/lvgl-module/source/devices/keyboard.cpp
  • Platforms/platform-esp32/source/drivers/usb/esp32_usb_device_controller.cpp
  • Platforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cpp
  • Platforms/platform-esp32/source/module.cpp
  • Tactility/CMakeLists.txt
  • Tactility/Include/Tactility/lvgl/KeyboardDeviceListener.h
  • Tactility/Private/Tactility/app/apphub/AppHubEntry.h
  • Tactility/Source/Tactility.cpp
  • Tactility/Source/app/addgps/AddGps.cpp
  • Tactility/Source/app/alertdialog/AlertDialog.cpp
  • Tactility/Source/app/appdetails/AppDetails.cpp
  • Tactility/Source/app/apphub/AppHubApp.cpp
  • Tactility/Source/app/apphub/AppHubEntry.cpp
  • Tactility/Source/app/apphubdetails/AppHubDetailsApp.cpp
  • Tactility/Source/app/applist/AppList.cpp
  • Tactility/Source/app/appsettings/AppSettings.cpp
  • Tactility/Source/app/apwebserver/ApWebServer.cpp
  • Tactility/Source/app/audiosettings/AudioSettings.cpp
  • Tactility/Source/app/boot/Boot.cpp
  • Tactility/Source/app/btmanage/BtManage.cpp
  • Tactility/Source/app/btpeersettings/BtPeerSettings.cpp
  • Tactility/Source/app/chat/ChatApp.cpp
  • Tactility/Source/app/chat/ChatSettings.cpp
  • Tactility/Source/app/crashdiagnostics/CrashDiagnostics.cpp
  • Tactility/Source/app/development/Development.cpp
  • Tactility/Source/app/files/FilesApp.cpp
  • Tactility/Source/app/fileselection/FileSelection.cpp
  • Tactility/Source/app/gpssettings/GpsSettings.cpp
  • Tactility/Source/app/grovesettings/GroveSettings.cpp
  • Tactility/Source/app/i2cscanner/I2cScanner.cpp
  • Tactility/Source/app/imageviewer/ImageViewer.cpp
  • Tactility/Source/app/inputdialog/InputDialog.cpp
  • Tactility/Source/app/kerneldisplay/KernelDisplay.cpp
  • Tactility/Source/app/keyboard/KeyboardSettings.cpp
  • Tactility/Source/app/launcher/Launcher.cpp
  • Tactility/Source/app/localesettings/LocaleSettings.cpp
  • Tactility/Source/app/notes/Notes.cpp
  • Tactility/Source/app/power/Power.cpp
  • Tactility/Source/app/poweroff/PowerOff.cpp
  • Tactility/Source/app/screenshot/Screenshot.cpp
  • Tactility/Source/app/selectiondialog/SelectionDialog.cpp
  • Tactility/Source/app/settings/Settings.cpp
  • Tactility/Source/app/setup/Setup.cpp
  • Tactility/Source/app/systeminfo/SystemInfo.cpp
  • Tactility/Source/app/timedatesettings/TimeDateSettings.cpp
  • Tactility/Source/app/timezone/TimeZone.cpp
  • Tactility/Source/app/touchcalibration/TouchCalibration.cpp
  • Tactility/Source/app/trackball/TrackballSettings.cpp
  • Tactility/Source/app/usbsettings/UsbSettings.cpp
  • Tactility/Source/app/webserversettings/WebServerSettings.cpp
  • Tactility/Source/app/wifiapsettings/WifiApSettings.cpp
  • Tactility/Source/app/wificonnect/WifiConnect.cpp
  • Tactility/Source/app/wifimanage/WifiManage.cpp
  • Tactility/Source/lvgl/KeyboardDeviceListener.cpp
  • Tactility/Source/lvgl/UsbHidInput.cpp
  • Tactility/Source/service/audio/AudioService.cpp
  • Tactility/Source/service/development/DevelopmentService.cpp
  • Tactility/Source/service/development/DevelopmentSettings.cpp
  • Tactility/Source/service/displayidle/DisplayIdle.cpp
  • Tactility/Source/service/espnow/EspNowService.cpp
  • Tactility/Source/service/keyboardidle/KeyboardIdle.cpp
  • Tactility/Source/service/memorychecker/MemoryCheckerService.cpp
  • Tactility/Source/service/rtctime/RtcTimeService.cpp
  • Tactility/Source/service/screenshot/Screenshot.cpp
  • Tactility/Source/service/statusbar/Statusbar.cpp
  • Tactility/Source/service/webserver/WebServerService.cpp
  • Tactility/Source/service/wifi/Wifi.cpp
  • Tactility/Source/settings/DisplaySettings.cpp
  • Tactility/Source/settings/TrackballSettings.cpp
  • Tactility/Source/settings/WebServerSettings.cpp
  • TactilityFreeRtos/README.md
  • TactilityKernel/include/tactility/device_listener.h
  • TactilityKernel/source/device.cpp
  • TactilityKernelCpp/CMakeLists.txt
  • TactilityKernelCpp/Include/TactilityCpp/Allocator.h
  • TactilityKernelCpp/LICENSE-Apache-2.0.md
  • TactilityKernelCpp/README.md

Included review availability: Your plan includes up to 4 reviews per rolling hour; 3 remain after this review.

Comment thread Drivers/audio-codec-module/README.md Outdated
Comment thread Modules/app-module/source/app_metadata_parsing_v2.cpp
Comment thread Modules/app-module/source/app_metadata_parsing.cpp
Comment thread Modules/app-module/source/app_paths.cpp
Comment thread Platforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cpp
Comment thread Tactility/Source/app/launcher/Launcher.cpp
Comment thread Tactility/Source/lvgl/KeyboardDeviceListener.cpp
Comment thread Tactility/Source/settings/DisplaySettings.cpp
Comment thread Tactility/Source/settings/WebServerSettings.cpp
Comment thread TactilityKernelCpp/LICENSE-Apache-2.0.md
@KenVanHoeylandt
KenVanHoeylandt merged commit b03759a into main Aug 18, 2026
63 checks passed
@KenVanHoeylandt
KenVanHoeylandt deleted the develop branch August 18, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant