Skip to main content

Keyboard Controls

Hyperscape supports keyboard shortcuts for common actions and debug tools.

Debug Controls

The F5 keybind was added in PR #505 to provide quick access to performance monitoring without opening DevTools.

Movement Controls


Combat Controls


Inventory Controls


UI Controls


Debug Panel (F5)

When the FPS debug panel is visible, it shows:
  • FPS - Frames per second (target: 60)
  • Frame Time - Milliseconds per frame (target: <16.67ms)
  • Memory - Heap size and allocation rate
  • Entities - Active entity count
  • Network - Ping, packet loss, bandwidth

Performance Targets


Customization

Keybinds are defined in ClientInput.ts:
To add custom keybinds, edit ClientInput.ts and add cases to handleKeyDown().