Refactor/shortcut - #12
Open
Ludofr3 wants to merge 5 commits into
Open
Conversation
Introduces a unified shortcut and gesture engine supporting key sequences, mouse gestures, and domain-scoped event dispatch. - Adds `bot.control.shortcuts` package and declarative registry - Refactors keyboard and mouse handlers to delegate to shortcut engine - Emits `ViewEventType.SHORTCUT` for domain-scoped bindings - Adds unit tests for sequence buffers and gesture tracking
Adds a toggleable on-screen help menu bound to the 'h' key that formats and displays all currently registered shortcuts. - Implement `_format_binding` to convert binding objects to text - Add `toggle_help` shortcut handler bound to key 'h' - Render shortcut listing overlay using Panda3D `OnscreenText`
renders the help overlay with a monospaced font on the GUI popup layer, and reduces the HUD gizmo scale. - Renders help overlay in monospaced font on the `gui-popup` layer - Filters out internal axis constraint handlers from help display - Reduces HUD gizmo scale from 400 to 200
Ludofr3
marked this pull request as ready for review
July 23, 2026 15:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.