Skip to content

Keyboard input improvements - #91

Merged
KenVanHoeylandt merged 2 commits into
mainfrom
keyboard-input-improvements
Dec 1, 2026
Merged

KenVanHoeylandt merged 2 commits into
mainfrom
keyboard-input-improvements

Conversation

@KenVanHoeylandt

@KenVanHoeylandt KenVanHoeylandt commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Accessibility and Navigation
    • Improved keyboard and directional-button navigation across controls in several apps, including audio recording, calendar, browser, games, and device settings.
    • Calendar navigation now restores focus to the selected day when appropriate.
    • Added left/right navigation within satellite legends and action buttons.
    • Browser warning screens now focus the Exit button when using non-touch input.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Multiple apps now register control groups for LVGL grid navigation. Calendar focus restoration and directional-key handling are updated in selected views. The browser groups header and warning-screen controls for keyboard navigation.

Changes: App Keyboard Navigation

Layer / File(s) Summary
Register control groups for grid navigation
Apps/AirMouse/main/Source/MainView.cpp, Apps/AudioRecorder/main/Source/AudioRecorder.cpp, Apps/Diceware/main/Source/Diceware.cpp, Apps/GPIO/main/Source/Gpio.cpp, Apps/M5UnitTest/main/Source/TestUnit*.cpp, Apps/MidiController/main/Source/MidiController.cpp, Apps/MystifySpiDemo/ili9341-panel-settings/main/Source/main.cpp, Apps/TamaTac/main/Source/PatternGame.cpp, Apps/TamaTac/main/Source/SettingsView.cpp, Apps/Tone/main/Source/ToneUi.cpp
Control rows and containers are registered for LVGL grid navigation. Several rows also change focus-key outline settings, and the Tone frequency readout receives a focus-key outline.
Restore focus in the month grid
Apps/Calendar/main/Source/CalendarApp.cpp, Apps/Calendar/main/Source/MonthGrid.cpp, Apps/Calendar/main/Source/MonthGrid.h
The month grid restores focus after rebuilding its cells when it previously had focus. The helper focuses the selected day or, if none is found, the first day button.
Handle directional keys in app controls
Apps/SatelliteTracker/main/Source/MapView.cpp, Apps/SatelliteTracker/main/Source/SatellitesView.cpp, Apps/TamaTac/main/Source/MainView.cpp
Satellite Tracker legend rows and TamaTac action buttons move focus within their groups on left and right keys. Satellite Tracker registers tracked-satellite, action, and rename controls for grid navigation.
Group browser controls for keyboard navigation
Apps/WebBrowser/main/Source/Browser.cpp
The browser groups header controls for grid navigation and registers warning-screen buttons. The warning screen focuses Exit when focus is established without touch.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Suggested reviewers: shadowtrance, julieff

Merge Risk: Minimal · previous review 1ad3b

This change improves keyboard navigation across several apps by registering control groups and adjusting focus handling in the calendar and browser. No concrete defect was established. Some focus behavior depends on SDK internals that could not be inspected, so a quick manual keyboard check of the Calendar month change and the browser header is worthwhile, but it is not a merge blocker.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Keyboard input improvements" is partially related to the changeset. The diff adds LVGL grid-navigation registration across many apps (arrow-key focus movement), and adds key handlers for ho…
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.
Full details: Title check

Explanation

The title "Keyboard input improvements" is partially related to the changeset. The diff adds LVGL grid-navigation registration across many apps (arrow-key focus movement), and adds key handlers for horizontal navigation in the legend and action buttons, which fits keyboard input improvements. However, the title is broad and does not name the main mechanism (LVGL grid navigation for non-touch devices). It is not vague in a way that conveys no information, and it does not mislead.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between dcdaeec and 1ad3b58.

Files selected for processing: 20

  • Apps/AirMouse/main/Source/MainView.cpp
  • Apps/AudioRecorder/main/Source/AudioRecorder.cpp
  • Apps/Calendar/main/Source/CalendarApp.cpp
  • Apps/Calendar/main/Source/MonthGrid.cpp
  • Apps/Calendar/main/Source/MonthGrid.h
  • Apps/Diceware/main/Source/Diceware.cpp
  • Apps/GPIO/main/Source/Gpio.cpp
  • Apps/M5UnitTest/main/Source/TestUnitDualButton.cpp
  • Apps/M5UnitTest/main/Source/TestUnitLcd.cpp
  • Apps/M5UnitTest/main/Source/TestUnitMidi.cpp
  • Apps/M5UnitTest/main/Source/TestUnitPaHub.cpp
  • Apps/MidiController/main/Source/MidiController.cpp
  • Apps/MystifySpiDemo/ili9341-panel-settings/main/Source/main.cpp
  • Apps/SatelliteTracker/main/Source/MapView.cpp
  • Apps/SatelliteTracker/main/Source/SatellitesView.cpp
  • Apps/TamaTac/main/Source/MainView.cpp
  • Apps/TamaTac/main/Source/PatternGame.cpp
  • Apps/TamaTac/main/Source/SettingsView.cpp
  • Apps/Tone/main/Source/ToneUi.cpp
  • Apps/WebBrowser/main/Source/Browser.cpp

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@KenVanHoeylandt

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@KenVanHoeylandt
KenVanHoeylandt merged commit aed7ec4 into main Dec 1, 2026
48 checks passed
@KenVanHoeylandt
KenVanHoeylandt deleted the keyboard-input-improvements branch December 1, 2026 18:46
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