My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Keybinds  
Summary of Naev keybindings.
Featured
Updated Jun 16, 2011 by silverwr...@gmail.com

Summary

This summary contains the default keybindings.
You can also see current keybindings with descriptions via the in-game menu at options -> keybindings. As of 0.4.0, it's possible to set keybindings in-game as well.

Movement

Key Name Function
Up Accelerate Makes your ship accelerate forward.
Left Turn Left Makes your ship turn left.
Right Turn Right Makes your ship turn right.
Down Reverse Makes your ship face the direction you're moving from. Useful for braking.
Z Afterburner Engages the ship's afterburner, if one is installed.

Targeting

Key Name Function
T Target Next Cycles through ship targets.
Ctrl-T Target Previous Cycles backwards through ship targets.
N Target Nearest Targets the nearest non-disabled ship.
Ctrl-R Target Next Hostile Cycles through hostile ship targets.
Unbound Target Previous Hostile Cycles backwards through hostile ship targets.
R Target Nearest Hostile Targets the nearest hostile ship.
Backspace Clear Target Clears the currently-targeted ship, planet or jump point.

Combat

Key Name Function
Space Fire Primary Weapon Fires primary weapons.
A Face Target Faces the targeted ship if one is targeted, otherwise faces targeted planet or jump point.
B Board Target Attempts to board the targeted ship.

Secondary Weapons

Key Name Function
Left Shift Fire Secondary Weapon Fires secondary weapons.
1 Weapon Set 1 Activates weapon set 1.
2 Weapon Set 2 Activates weapon set 2.
3 Weapon Set 3 Activates weapon set 3.
4 Weapon Set 4 Activates weapon set 4.
5 Weapon Set 5 Activates weapon set 5.
6 Weapon Set 6 Activates weapon set 6.
7 Weapon Set 7 Activates weapon set 7.
8 Weapon Set 8 Activates weapon set 8.
9 Weapon Set 9 Activates weapon set 9.
0 Weapon Set 0 Activates weapon set 0.

Escorts

Key Name Function
E Target Next Escort Cycles through your escorts.
Ctrl-E Target Previous Escort Cycles backwards through your escorts.
F Escort Attack Command Orders escorts to attack your target.
G Escort Hold Command Orders escorts to hold their positions.
Ctrl-C Escort Return Command Orders escorts to return to your ship hangars.
C Escort Clear Commands Clears your escorts of commands.

Space Navigation

Key Name Function
Ctrl-J Autonavigation On Initializes the autonavigation system.
P Target Planet Cycles through planet targets.
L Land Attempts to land on the targeted planet or targets the nearest landable planet. Requests permission if necessary.
H Target Jumpgate Cycles through jump points.
M Star Map Opens the star map.
J Initiate Jump Attempts to jump via a jump point.
Tab Overlay Map Opens the in-system overlay map.
Ctrl-X Mouse Flight Toggles mouse flying.

Communication

Key Name Function
Pageup Log Scroll Up Scrolls the log upwards.
Pagedown Log Scroll Down Scrolls the log downwards.
Y Hail Target Attempts to initialize communication with the targeted ship.
Ctrl-Y Autohail Automatically initialize communication with a ship that is hailing you.

Misc.

Key Name Function
Keypad + Radar Zoom In Zooms in on the radar.
Keypad - Radar Zoom Out Zooms out on the radar.
Keypad * Screenshot Takes a screenshot.
Pause Pause Pauses the game.
Backquote Toggle 2x Speed Toggles 2x speed modifier.
Escape Small Menu Opens the small in-game menu.
I Information Menu Opens the information menu.
F2 Lua Console Opens the Lua console.
Alt-1 Switch Tab 1 Switches to tab 1.
Alt-2 Switch Tab 2 Switches to tab 2.
Alt-3 Switch Tab 3 Switches to tab 3.
Alt-4 Switch Tab 4 Switches to tab 4.
Alt-5 Switch Tab 5 Switches to tab 5.
Alt-6 Switch Tab 6 Switches to tab 6.
Alt-7 Switch Tab 7 Switches to tab 7.
Alt-8 Switch Tab 8 Switches to tab 8.
Alt-9 Switch Tab 9 Switches to tab 9.
Alt-0 Switch Tab 0 Switches to tab 0.

In-Game

The keybindings menu is accessible through the in-game menu, as a choice on the Options sub-menu.

As of 0.4.0, the keybinding interface is now able to set keys in addition to displaying them.

Joysticks

Naev has full joystick support. However, it's disabled by default. To enable your joystick, you will need to edit the configuration file. On Windows, it's located at %APPDATA%\Naev\conf.lua, and on any Unix-like system (Mac OS X, Linux, etc.) it will found at ~/.naev/conf.lua.

Near the top of the file, you'll see

joystick = nil

which should be changed to

joystick = 0

Binding

As keys can now be set in-game, the following is unnecessary in almost all cases.

You can also bind your own keybindings, the format is:
COMMAND      = { type = TYPE, key = KEYSYM, mod = MOD }
Valid COMMAND are those listed in the in-game keybindings menu.
TYPE can be one of:
  • "keyboard": Is a key on the keyboard.
  • "jaxisneg": Is a joystick negative axis.
  • "jaxispos": Is a joystick positive axis.
  • "jbutton": Is a joystick button.
MOD is optional and only affects TYPE="keyboard". In case there is no ", mod = MOD", none is assumed. MOD can be one of:
  • "ltcrl": left control.
  • "rctrl": right control.
  • "lshift": left shift.
  • "rshift": right shift.
  • "lalt": left alt.
  • "ralt": right alt.
  • "lmeta": left metakey.
  • "rmeta": right metakey.
  • "any": always work regardless of mod state.
  • "none": no mod keys.
If TYPE="keyboard" then KEYSYM must be the keysym output of 'xev' or can be gotten from a local copy of SDL_keysym.h . Otherwise KEYSYM is the index of the axis or button on the joystick.
Comment by pclog...@gmail.com, Sep 16, 2011

Sign in to add a comment
Powered by Google Project Hosting