Skip to content

Add keyboard shortcuts and a camera selector. - #35

Merged
kevinzakka merged 1 commit into
mainfrom
keybindings
Oct 31, 2026
Merged

kevinzakka merged 1 commit into
mainfrom
keybindings

Conversation

@kevinzakka

Copy link
Copy Markdown
Contributor

Adds MuJoCo-style keyboard shortcuts through viser commands: space, N, and backspace for play/pause, step, and reset, C/F/P/J/I/V/M/U for visualization flags, 0-5 for geom groups, and escape for the free camera. Shortcuts whose MuJoCo keys viser can't bind yet (equality, auto-connect, site groups, camera cycling, speed) are registered as commands without hotkeys, so they're reachable from the command palette and can get their keys once viser supports them. Also adds a dropdown for the model's cameras, turns camera tracking off by default, and keeps the view in place when tracking is turned off. Split out of #21.

@kevinzakka
kevinzakka merged commit 54659f8 into main Oct 31, 2026
7 checks passed
@kevinzakka
kevinzakka deleted the keybindings branch October 31, 2026 22:25
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