Skip to content

Add Config setting to navigate the module search bar with the keyboard - #6656

Open
xpncvr wants to merge 1 commit into
MeteorDevelopment:masterfrom
xpncvr:module-keyboard-navigation
Open

xpncvr wants to merge 1 commit into
MeteorDevelopment:masterfrom
xpncvr:module-keyboard-navigation

Conversation

@xpncvr

@xpncvr xpncvr commented Sep 12, 2026

Copy link
Copy Markdown

Type of change

  • Bug fix
  • New feature

Description

Adds a navigate-modules-with-keyboard setting (off by default) to the Modules section of the config. When enabled the modules displayed in search can be toggled using keyboard shortcuts.

  • Up and down arrows move a selection through the results which wraps at both ends
  • Enter toggles the selected module
  • Shift + enter opens the settings screen for the selected module
  • The search box keeps its focus and left/right arrows navigate normally
  • It gets its color from the accent theme setting

Related issues

None.

How Has This Been Tested?

Tested in game with the setting on and off, tested navigation and toggling and opening modules.

demo.webm

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

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