All docs

Input & Shortcuts

Joystick and gamepad configuration, keyboard-to-Vectrex button mapping, and the full keyboard shortcut reference.

Joystick & Gamepad Configuration

The Vectrex has a single analog joystick and four buttons per controller. Vectrex Studio maps your physical gamepad or keyboard to those inputs in the emulator.

Open Tools → Joystick Config to configure each player's controller.

Joystick Config dialog — axis selectors, deadzone slider, D-pad and button mapping grid

Axes

SettingDescription
X Axis indexWhich gamepad axis maps to horizontal movement. Click Detect and push the stick left/right to auto-detect.
Y Axis indexWhich gamepad axis maps to vertical movement. Click Detect and push the stick up/down.
Invert X / Invert YFlip the axis direction if the joystick feels backwards.
DeadzoneFraction of the axis range (0.0–1.0) to ignore around the centre. Increase if you see unwanted drift.

A live axis visualiser shows the current raw values and the deadzone boundary while you adjust.

Axis visualiser — two axis bars with deadzone markers and current position dots

D-pad

For gamepads that have a D-pad as discrete buttons (rather than a hat axis), map each direction individually. Click the direction button in the dialog, then press the corresponding physical button — the mapping is recorded automatically.

Vectrex Buttons

The Vectrex has four buttons (1–4). Each maps to a physical gamepad button. Click the Vectrex button slot in the dialog, then press the physical button to assign it.

Common default mappings (Xbox-style gamepad):

Vectrex ButtonPhysical Button
Button 1A (South)
Button 2B (East)
Button 3X (West)
Button 4Y (North)

Keyboard Fallback

If no gamepad is connected, the emulator falls back to keyboard controls:

KeyVectrex Input
Arrow keysJoystick
Z / X / C / VButtons 1–4

Two-Player Setup

Open the config dialog a second time with Player 2 selected in the top dropdown to configure a second controller independently.


Keyboard Shortcut Reference

File

ShortcutAction
Ctrl+NNew VPy file
Ctrl+OOpen file
Ctrl+Shift+OOpen project
Ctrl+SSave
Ctrl+Shift+SSave As
Ctrl+WClose current tab

Build

ShortcutAction
Ctrl+F7 / Cmd+F7Build
F5Build and Run

Debug

ShortcutAction
Ctrl+D / Ctrl+F5Start debugging
Shift+F5Stop debugging
F9Toggle breakpoint on current line
F10Step Over
F11Step Into
Shift+F11Step Out
F5 (during debug)Continue to next breakpoint

Git

ShortcutAction
Ctrl+KStage current file
Ctrl+Shift+CCommit
Ctrl+JPush
Ctrl+LPull
Ctrl+GQuick branch switcher
Ctrl+Shift+GOpen Git panel
Ctrl+Shift+FSearch commit history
Alt+DDiff current file

View

ShortcutAction
Ctrl+Shift+EFocus file tree
Ctrl+`Toggle terminal / build output