Skip to content

Refactor/shortcut - #12

Open
Ludofr3 wants to merge 5 commits into
feature/nurbs-implementationfrom
refactor/shortcut
Open

Refactor/shortcut#12
Ludofr3 wants to merge 5 commits into
feature/nurbs-implementationfrom
refactor/shortcut

Conversation

@Ludofr3

@Ludofr3 Ludofr3 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Ludofr3 added 5 commits July 23, 2026 10:21
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
Ludofr3 marked this pull request as ready for review July 23, 2026 15:49
@Ludofr3 Ludofr3 self-assigned this Jul 27, 2026
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