Difference between revisions of "Manual:Config:Advanced:Bindings:Keyboard"

From VsWiki
Jump to: navigation, search
(Old Style Mac keyboard)
 
(20 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
{{Languages|En|Manual:Config:Advanced:Bindings:Keyboard}}
 
{{NAV_Manual |
 
{{NAV_Manual |
| previous=[[Manual:Config|Config]]
+
| previous=[[Manual:Config:Advanced:Bindings|Config:Advanced:Bindings]]
| up=[[Manual]]
+
| up=[[Manual:Config:Advanced:Bindings|Config:Advanced:Bindings]]
| next=[[Manual#Play|Manual: Playing Vega Strike]]
+
| next=[[Manual:Config:Advanced:Bindings:Mouse|Config:Advanced:Bindings:Mouse]]
 
}}
 
}}
 
----
 
----
<table width=35% style="float:left;"><tr><td>__TOC__</td></tr></table>
+
== Keyboard Configuration ==
== Keybindings ==
 
  
 
This page provides working examples of different keyboard layouts, showing how each key (differentiating between lower and upper case) has been bound to operate a single Vega Strike function.
 
This page provides working examples of different keyboard layouts, showing how each key (differentiating between lower and upper case) has been bound to operate a single Vega Strike function.
Line 12: Line 12:
 
If a Keyboard Configuration matches your keyboard, you can edit copy the configuration here into your vegastrike config file.
 
If a Keyboard Configuration matches your keyboard, you can edit copy the configuration here into your vegastrike config file.
  
* Sample
+
=== KEYBOARD: bind ===
** <bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />
 
  
* Description
+
==== Sample ====
 +
<pre>
 +
<bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />
 +
</pre>
  
** key - specify the key here  
+
==== Description ====
** modifier - not used (not being read in config_xml.cpp)
+
 
** command - specify the command to start when the button is pressed here. See VsManualKeyboardLayout for description.  
+
* <code>key</code> - Specify the key here ({{Fixme}} ''this is now a bit of a hassle for non-english keyboards'')
 +
** lowercase letters/characters = without {{Key:EN:Shift left}}
 +
** uppercase letters/characters = with {{Key:EN:Shift left}}
 +
* <code>modifier</code> - Use a modifier key (case-sensitive)
 +
** <code>none</code> - Don't use a modifier ({{Fixme}} same as without this tag?).
 +
** <code>alt</code> - Require the {{Key:EN:Alt}} key.
 +
** <code>ctrl</code> - Require the {{Key:EN:Ctrl}} key.
 +
** <code>shift</code> - Require the {{Key:EN:Shift left}} key. Usually you cannot write symbols like uppercase space or keypad symbols in config.
 +
* <code>command</code> - Specify the command to start when the button is pressed here.
 +
** See [[Manual:Keyboard layout|Keyboard Layout]] for descriptions and a list of commands.
  
 
== Keyboard Examples ==
 
== Keyboard Examples ==
Please insert working keyboard configs here.
+
'''Please insert working keyboard configs here.'''
 
 
=== Old Style Mac keyboard===
 
(the little one without a 'del' key among others)
 
  
<bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />
+
=== Old Style Mac keyboard ===
<bind key="F" modifier="none" command="CommFormUp" />
+
The little one without a 'del' key among others.
<bind key="B" modifier="none" command="CommBreakForm" />
+
<pre>
<bind key="H" modifier="none" command="CommHelpMeOut" />
+
<bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />
<bind key="D" modifier="none" command="CommAttackTarget" />
+
<bind key="F" modifier="none" command="CommFormUp" />
<bind key="1" modifier="none" command="Comm1Key" />
+
<bind key="B" modifier="none" command="CommBreakForm" />
<bind key="2" modifier="none" command="Comm2Key" />
+
<bind key="H" modifier="none" command="CommHelpMeOut" />
<bind key="3" modifier="none" command="Comm3Key" />
+
<bind key="D" modifier="none" command="CommAttackTarget" />
<bind key="4" modifier="none" command="Comm4Key" />
+
<bind key="1" modifier="none" command="Comm1Key" />
<bind key="5" modifier="none" command="Comm5Key" />
+
<bind key="2" modifier="none" command="Comm2Key" />
<bind key="6" modifier="none" command="Comm6Key" />
+
<bind key="3" modifier="none" command="Comm3Key" />
<bind key="7" modifier="none" command="Comm7Key" />
+
<bind key="4" modifier="none" command="Comm4Key" />
<bind key="8" modifier="none" command="Comm8Key" />
+
<bind key="5" modifier="none" command="Comm5Key" />
<bind key="9" modifier="none" command="Comm9Key" />
+
<bind key="6" modifier="none" command="Comm6Key" />
<bind key="space" modifier="none" command="FireKey" />
+
<bind key="7" modifier="none" command="Comm7Key" />
<bind key="y" modifier="none" command="SwitchCombatMode" />
+
<bind key="8" modifier="none" command="Comm8Key" />
<bind key="j" modifier="none" command="JumpKey" />
+
<bind key="9" modifier="none" command="Comm9Key" />
<bind key="J" modifier="none" command="JoyStickToggleKey" />
+
<bind key="space" modifier="none" command="FireKey" />
<bind key="A" modifier="none" command="AutoKey" />
+
<bind key="y" modifier="none" command="SwitchCombatMode" />
<bind key="a" modifier="none" command="AutoKey" />
+
<bind key="j" modifier="none" command="JumpKey" />
<bind key="c" modifier="none" command="CloakKey" />
+
<bind key="J" modifier="none" command="JoyStickToggleKey" />
<bind key="E" modifier="none" command="EjectKey" />
+
<bind key="A" modifier="none" command="AutoKey" />
<bind key="e" modifier="none" command="ECMKey" />
+
<bind key="a" modifier="none" command="AutoKey" />
<bind key="Z" modifier="none" command="EjectCargoKey" />
+
<bind key="c" modifier="none" command="CloakKey" />
<bind key="return" modifier="none" command="MissileKey" />
+
<bind key="E" modifier="none" command="EjectKey" />
<bind key="keypad-enter" modifier="none" command="MissileKey" />
+
<bind key="e" modifier="none" command="ECMKey" />
<bind key="g" modifier="none" command="WeapSelKey"/>
+
<bind key="Z" modifier="none" command="EjectCargoKey" />
<bind key=";" modifier="none" command="Respawn"/>
+
<bind key="return" modifier="none" command="MissileKey" />
<bind key="[" modifier="none" command="SwitchControl"/>
+
<bind key="keypad-enter" modifier="none" command="MissileKey" />
<bind key="]" modifier="none" command="TurretControl"/>
+
<bind key="g" modifier="none" command="WeapSelKey"/>
<bind key="d" modifier="none" command="DockKey"/>
+
<bind key=";" modifier="none" command="Respawn"/>
  <!--<bind key="u" modifier="none" command="UnDockKey"/>-->
+
<bind key="[" modifier="none" command="SwitchControl"/>
<bind key="0" modifier="none" command="RequestClearenceKey"/>
+
<bind key="]" modifier="none" command="TurretControl"/>
<bind key="m" modifier="none" command="MisSelKey"/>
+
<bind key="d" modifier="none" command="DockKey"/>
<bind key="t" modifier="none" command="TargetKey" />
+
<!--<bind key="u" modifier="none" command="UnDockKey"/>-->
<bind key="n" modifier="none" command="SigTargetKey" />
+
<bind key="0" modifier="none" command="RequestClearenceKey"/>
<bind key="b" modifier="none" command="SubUnitTargetKey"/>
+
<bind key="m" modifier="none" command="MisSelKey"/>
<bind key="u" modifier="none" command="UnitTargetKey" />
+
<bind key="t" modifier="none" command="TargetKey" />
<bind key="l" modifier="none" command="LockTargetKey" />
+
<bind key="n" modifier="none" command="SigTargetKey" />
<bind key="p" modifier="none" command="PickTargetKey" />
+
<bind key="b" modifier="none" command="SubUnitTargetKey"/>
<bind key="h" modifier="none" command="NearestTargetKey" />
+
<bind key="u" modifier="none" command="UnitTargetKey" />
<bind key="T" modifier="none" command="ReverseTargetKey" />
+
<bind key="l" modifier="none" command="LockTargetKey" />
<bind key="P" modifier="none" command="TurretTargetKey" />
+
<bind key="p" modifier="none" command="PickTargetKey" />
<bind key="o" modifier="none" command="TurretAIKey" />
+
<bind key="h" modifier="none" command="NearestTargetKey" />
<bind key="H" modifier="none" command="ReverseNearestTargetKey" />
+
<bind key="T" modifier="none" command="ReverseTargetKey" />
<bind key="N" modifier="none" command="ReverseSigTargetKey" />
+
<bind key="P" modifier="none" command="TurretTargetKey" />
<bind key="U" modifier="none" command="ReverseUnitTargetKey" />
+
<bind key="o" modifier="none" command="TurretAIKey" />
<bind key="`" modifier="none" command="SheltonKey" />
+
<bind key="H" modifier="none" command="ReverseNearestTargetKey" />
<bind key="-" modifier="none" command="DecelKey"/>
+
<bind key="N" modifier="none" command="ReverseSigTargetKey" />
<bind key="+" modifier="none" command="AccelKey" />
+
<bind key="U" modifier="none" command="ReverseUnitTargetKey" />
<bind key="keypad-minus" modifier="none" command="DecelKey"/>
+
<bind key="`" modifier="none" command="SheltonKey" />
<bind key="keypad-plus" modifier="none" command="AccelKey" />
+
<bind key="-" modifier="none" command="DecelKey"/>
<bind key="=" modifier="none" command="AccelKey"/>
+
<bind key="+" modifier="none" command="AccelKey" />
<bind key="/" modifier="none" command="RollLeftKey"/>
+
<bind key="keypad-minus" modifier="none" command="DecelKey"/>
<bind key="*" modifier="none" command="RollRightKey"/>
+
<bind key="keypad-plus" modifier="none" command="AccelKey" />
<bind key="keypad-divide" modifier="none" command="RollLeftKey"/>
+
<bind key="=" modifier="none" command="AccelKey"/>
<bind key="keypad-multiply" modifier="none" command="RollRightKey"/>
+
<bind key="/" modifier="none" command="RollLeftKey"/>
  <!-- GILES backspace misinterpreted on keypad
+
<bind key="*" modifier="none" command="RollRightKey"/>
  <bind key="backspace" modifier="none" command="StopKey"/>
+
<bind key="keypad-divide" modifier="none" command="RollLeftKey"/>
  # -->
+
<bind key="keypad-multiply" modifier="none" command="RollRightKey"/>
<bind key="'" modifier="none" command="StopKey"/>
+
<!-- GILES backspace misinterpreted on keypad
<bind key="\" modifier="none" command="StartKey"/>
+
  <bind key="backspace" modifier="none" command="StopKey"/>
<bind key="tab" modifier="none" command="ABKey" />
+
# -->
<bind key="!" modifier="none" command="SuicideKey"/>
+
<bind key="'" modifier="none" command="StopKey"/>
<bind key="cursor-up" modifier="none" command="UpKey"/>
+
<bind key="\" modifier="none" command="StartKey"/>
<bind key="cursor-down" modifier="none" command="DownKey"/>
+
<bind key="tab" modifier="none" command="ABKey" />
<bind key="cursor-left" modifier="none" command="RightKey"/>
+
<bind key="!" modifier="none" command="SuicideKey"/>
<bind key="cursor-right" modifier="none" command="LeftKey"/>
+
<bind key="cursor-up" modifier="none" command="UpKey"/>
<bind key="cursor-insert" modifier="none" command="RollLeftKey"/>
+
<bind key="cursor-down" modifier="none" command="DownKey"/>
 +
<bind key="cursor-left" modifier="none" command="RightKey"/>
 +
<bind key="cursor-right" modifier="none" command="LeftKey"/>
 +
<bind key="cursor-insert" modifier="none" command="RollLeftKey"/>
 
   <!-- GILES cursor-delete is backspace
 
   <!-- GILES cursor-delete is backspace
 
   <bind key="cursor-delete" modifier="none" command="RollRightKey"/>
 
   <bind key="cursor-delete" modifier="none" command="RollRightKey"/>
  # -->
+
# -->
<bind key="keypad-8" modifier="none" command="UpKey"/>
+
<bind key="keypad-8" modifier="none" command="UpKey"/>
<bind key="keypad-2" modifier="none" command="DownKey"/>
+
<bind key="keypad-2" modifier="none" command="DownKey"/>
<bind key="keypad-5" modifier="none" command="DownKey"/>
+
<bind key="keypad-5" modifier="none" command="DownKey"/>
<bind key="keypad-4" modifier="none" command="RightKey"/>
+
<bind key="keypad-4" modifier="none" command="RightKey"/>
<bind key="keypad-6" modifier="none" command="LeftKey"/>
+
<bind key="keypad-6" modifier="none" command="LeftKey"/>
<bind key="M" modifier="none" command="Cockpit::MapKey"/>
+
<bind key="M" modifier="none" command="Cockpit::MapKey"/>
<bind key="function-1" modifier="none" command="Cockpit::Inside"/>
+
<bind key="function-1" modifier="none" command="Cockpit::Inside"/>
<bind key="function-2" modifier="none" command="Cockpit::InsideLeft"/>
+
<bind key="function-2" modifier="none" command="Cockpit::InsideLeft"/>
<bind key="function-3" modifier="none" command="Cockpit::InsideRight"/>
+
<bind key="function-3" modifier="none" command="Cockpit::InsideRight"/>
<bind key="function-4" modifier="none" command="Cockpit::InsideBack"/>
+
<bind key="function-4" modifier="none" command="Cockpit::InsideBack"/>
<bind key="." command="VolumeInc"/>
+
<bind key="." command="VolumeInc"/>
<bind key="," command="VolumeDec"/>
+
<bind key="," command="VolumeDec"/>
<bind key="greater-than" command="MusicVolumeInc"/>
+
<bind key="greater-than" command="MusicVolumeInc"/>
<bind key="less-than" command="MusicVolumeDec"/>
+
<bind key="less-than" command="MusicVolumeDec"/>
<bind key="function-5" modifier="none" command="Cockpit::Behind"/>
+
<bind key="function-5" modifier="none" command="Cockpit::Behind"/>
<bind key="function-6" modifier="none" command="Cockpit::Pan"/>
+
<bind key="function-6" modifier="none" command="Cockpit::Pan"/>
<bind key="function-9" modifier="none" command="TimeInc"/>
+
<bind key="function-9" modifier="none" command="TimeInc"/>
<bind key="|" modifier="none" command="PauseKey"/>
+
<bind key="|" modifier="none" command="PauseKey"/>
<bind key="pause" modifier="none" command="PauseKey"/>
+
<bind key="pause" modifier="none" command="PauseKey"/>
<bind key="function-10" modifier="none" command="TimeReset"/>
+
<bind key="function-10" modifier="none" command="TimeReset"/>
<bind key="function-7" modifier="none" command="Cockpit::OutsideTarget"/>
+
<bind key="function-7" modifier="none" command="Cockpit::OutsideTarget"/>
<bind key="function-8" modifier="none" command="Cockpit::PanTarget"/>
+
<bind key="function-8" modifier="none" command="Cockpit::PanTarget"/>
<bind key="function-11" modifier="none" command="Cockpit::ZoomIn"/>
+
<bind key="function-11" modifier="none" command="Cockpit::ZoomIn"/>
<bind key="function-12" modifier="none" command="Cockpit::ZoomOut"/>
+
<bind key="function-12" modifier="none" command="Cockpit::ZoomOut"/>
<bind key="w" modifier="none" command="Cockpit::SwitchLVDU"/>
+
<bind key="w" modifier="none" command="Cockpit::SwitchLVDU"/>
<bind key="v" modifier="none" command="Cockpit::SwitchRVDU"/>
+
<bind key="v" modifier="none" command="Cockpit::SwitchRVDU"/>
<bind key="q" modifier="none" command="Cockpit::PitchDown"/>
+
<bind key="q" modifier="none" command="Cockpit::PitchDown"/>
<bind key="z" modifier="none" command="Cockpit::PitchUp"/>
+
<bind key="z" modifier="none" command="Cockpit::PitchUp"/>
<bind key="s" modifier="none" command="Cockpit::YawLeft"/>
+
<bind key="s" modifier="none" command="Cockpit::YawLeft"/>
<bind key="f" modifier="none" command="Cockpit::YawRight"/>
+
<bind key="f" modifier="none" command="Cockpit::YawRight"/>
<bind key="cursor-pagedown" modifier="none" command="Cockpit::ScrollDown"/>
+
<bind key="cursor-pagedown" modifier="none" command="Cockpit::ScrollDown"/>
<bind key="cursor-pageup" modifier="none" command="Cockpit::ScrollUp"/>
+
<bind key="cursor-pageup" modifier="none" command="Cockpit::ScrollUp"/>
<bind key="keypad-3" modifier="none" command="Cockpit::ScrollDown"/>
+
<bind key="keypad-3" modifier="none" command="Cockpit::ScrollDown"/>
<bind key="keypad-9" modifier="none" command="Cockpit::ScrollUp"/>
+
<bind key="keypad-9" modifier="none" command="Cockpit::ScrollUp"/>
<bind key="cursor-home" modifier="none" command="SetVelocityRefKey"/>
+
<bind key="cursor-home" modifier="none" command="SetVelocityRefKey"/>
 
  <!-- GILES  <bind key="cursor-end" modifier="none" command="SetVelocityNullKey"/>
 
  <!-- GILES  <bind key="cursor-end" modifier="none" command="SetVelocityNullKey"/>
 
   # reassigning cursor-delete here -->
 
   # reassigning cursor-delete here -->
<bind key="cursor-delete" modifier="none" command="SetVelocityNullKey"/>
+
<bind key="cursor-delete" modifier="none" command="SetVelocityNullKey"/>
<bind key="keypad-7" modifier="none" command="SetVelocityRefKey"/>
+
<bind key="keypad-7" modifier="none" command="SetVelocityRefKey"/>
bind key="keypad-1" modifier="none" command="SetVelocityNullKey"/>
+
<bind key="keypad-1" modifier="none" command="SetVelocityNullKey"/>
<bind key="esc" modifier="none" command="Cockpit::Quit"/>
+
<bind key="esc" modifier="none" command="Cockpit::Quit"/>
 +
</pre>
 +
 
 +
=== Keypad Thrusters ===
 +
Helps a lot on ships with decent lateral acceleration - mostly fighters and Rlaan vessels that have lateral acceleration as the main advantage - and for docking.
 +
<pre>
 +
<bind key="keypad-0"      modifier="none" command="NearestDangerousHostileKey" />
 +
<bind key="keypad-period" modifier="none" command="LockTargetKey" /> # ergonomical if you use "PickTargetKey" on mouse or NearestDangerousHostileKeythe above, and keep "MissileKey" on keypad Enter
 +
<bind key="keypad-1"      modifier="none" command="SwitchCombatMode" />
 +
<bind key="keypad-2"      modifier="none" command="ThrustDown"/>
 +
<bind key="keypad-3"      modifier="none" command="ThrustBack"/>
 +
<bind key="keypad-4"      modifier="none" command="ThrustLeft"/>
 +
<bind key="keypad-5"      modifier="none" command="Flight::Mode::InertialToggle"/>
 +
<bind key="keypad-6"      modifier="none" command="ThrustRight"/>
 +
<bind key="keypad-7"      modifier="none" command="MatchSpeedKey" />
 +
<bind key="keypad-8"      modifier="none" command="ThrustUp"/>
 +
<bind key="keypad-9"      modifier="none" command="ThrustFront"/>
 +
</pre>
 +
 
 +
=== Keypad View Switch ===
 +
(more geometrically obvious binding for those who have no proper HAT switch)
 +
<pre>
 +
<bind key="keypad-minus"  modifier="shift" command="Cockpit::ZoomOut"/>
 +
<bind key="keypad-plus"  modifier="shift" command="Cockpit::ZoomIn" />
 +
<bind key="keypad-0"      modifier="shift" command="Cockpit::ZoomReset"/>
 +
 
 +
<bind key="keypad-1"      modifier="shift" command="Cockpit::OutsideTarget"/>
 +
<bind key="keypad-2"      modifier="shift" command="Cockpit::InsideBack"/>
 +
<bind key="keypad-3"      modifier="shift" command="Cockpit::Behind"/>
 +
<bind key="keypad-4"      modifier="shift" command="Cockpit::InsideLeft"/>
 +
<bind key="keypad-5"      modifier="shift" command="Cockpit::ViewTarget"/>
 +
<bind key="keypad-6"      modifier="shift" command="Cockpit::InsideRight"/>
 +
<bind key="keypad-7"      modifier="shift" command="Cockpit::PanTarget"/>
 +
<bind key="keypad-8"      modifier="shift" command="Cockpit::Inside"/>
 +
<bind key="keypad-9"      modifier="shift" command="Cockpit::Pan"/>
 +
<bind key="cursor-up"    modifier="shift" command="Cockpit::PitchDown"/>
 +
<bind key="cursor-down"  modifier="shift" command="Cockpit::PitchUp"/>
 +
<bind key="cursor-left"  modifier="shift" command="Cockpit::YawLeft"/>
 +
<bind key="cursor-right"  modifier="shift" command="Cockpit::YawRight"/>
 +
</pre>
 +
 
 +
=== Missile Targetting ===
 +
If we have thrust somewhere else, we may as well use these buttons for two very useful commands absent in the default setup. Even without turrets, missiles can be shot with autotracking and/or beams. "[Reverse]MissileTargetKey" also cycles through salvage, so it's also scavenger-friendly.
 +
<pre>
 +
<bind key="." modifier="none" command="IncomingMissileTargetKey"/>
 +
<bind key="greater-than" modifier="none" command="ReverseIncomingMissileTargetKey"/>
 +
<bind key="," modifier="none" command="MissileTargetKey"/>
 +
<bind key="less-than" modifier="none" command="ReverseMissileTargetKey"/>
 +
</pre>
 +
Alternatively, use Ins/Del, because roll keys are closer on keypad:
 +
<pre>
 +
<bind key="cursor-insert" modifier="none" command="MissileTargetKey"/>
 +
<bind key="cursor-insert" modifier="shift" command="ReverseMissileTargetKey"/>
 +
<bind key="cursor-delete" modifier="none" command="IncomingMissileTargetKey"/>
 +
<bind key="cursor-delete" modifier="shift" command="ReverseIncomingMissileTargetKey"/>
 +
</pre>
 +
...and how it all fits together:
 +
{|border="1" rules="rows"|align="left"|
 +
|{{Key:EN:Ins}} <code>Target missiles/crates</code> <BR/> {{Key:EN:Shift left}} <code>cycle back</code>
 +
|style="background:lightgray"| {{Key:EN:Home}} Velocity reference
 +
|style="background:lightgray"| {{Key:EN:PageUp}} Scroll text up
 +
|
 +
|style="background:gray"| {{Key:EN:KP_Num}}
 +
|align="right" style="background:lightgray"| Roll Left {{Key:KP_Slash}}
 +
|align="right" style="background:lightgray"| Roll Right {{Key:KP_Asterisk}}
 +
|{{Key:KP_Hyphen}} Decrease set velocity <BR/> {{Key:EN:Shift left}} <code>Zoom Out</code>
 +
|-
 +
|{{Key:EN:Del}} <code>Incoming missiles</code> <BR/> {{Key:EN:Shift left}} <code>cycle back</code>
 +
|style="background:lightgray"| {{Key:EN:End}} Reset reference
 +
|style="background:lightgray"| {{Key:EN:PageDown}} Scroll text down
 +
|
 +
|align="right"| <code>Match Velocity</code> {{Key:EN:KP_7}} <BR/> <code>Pan view - Target</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Thrust Up</code> {{Key:EN:KP_8}} <BR/> <code>Cockpit View</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Thrust Front</code> {{Key:EN:KP_9}} <BR/> <code>Pan view</code> {{Key:EN:Shift left}}
 +
|rowspan="2"| {{Key:KP_Plus}} Increase set velocity <BR/> {{Key:EN:Shift left}} <code>Zoom In</code>
 +
|-
 +
|style="background:gray"|
 +
|style="background:gray"|
 +
|style="background:gray"|
 +
|
 +
|align="right"| <code>Thrust Left</code> {{Key:EN:KP_4}} <BR/> <code>Look Left</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Inertial Mode</code> {{Key:EN:KP_5}} <BR/> <code>View Target</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Thrust Right</code> {{Key:EN:KP_6}} <BR/> <code>Look Right</code> {{Key:EN:Shift left}}
 +
|-
 +
|style="background:gray"|
 +
|{{Key:Up}} Turn Down <BR/> {{Key:EN:Shift left}} <code>Camera Down</code>
 +
|style="background:gray"|
 +
|
 +
|align="right"| <code>Combat/Travel</code> {{Key:EN:KP_1}} <BR/> <code>Target, 3rd-person</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Thrust down</code> {{Key:EN:KP_2}} <BR/> <code>Look back</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Thrust back</code> {{Key:EN:KP_3}} <BR/> <code>View from Behind</code> {{Key:EN:Shift left}}
 +
|style="background:lightgray" rowspan="2"| {{Key:EN:KP_Enter}} Fire missiles
 +
|-
 +
|{{Key:Left}} Turn Left <BR/> {{Key:EN:Shift left}} <code>Camera Left</code>
 +
|{{Key:Down}} Turn Up <BR/> {{Key:EN:Shift left}} <code>Camera Up</code>
 +
|{{Key:Right}} Turn Right <BR/> {{Key:EN:Shift left}} <code>Camera Right</code>
 +
|
 +
|align="right" colspan="2"|<code>Nearest Threat</code> {{Key:EN:KP_0}} <BR/> <code>Reset Zoom</code> {{Key:EN:Shift left}}
 +
|align="right"| <code>Lock Target</code> {{Key:EN:KP_Period}}
 +
|}
 +
 
  
===New Keyboard Config===
 
<nowiki>keybindings</nowiki>
 
 
----
 
----
 
{{NAV_Manual |
 
{{NAV_Manual |
| previous=[[Manual:Config|Config]]
+
| previous=[[Manual:Config:Advanced:Bindings|Config:Advanced:Bindings]]
| up=[[Manual]]
+
| up=[[Manual:Config:Advanced:Bindings|Config:Advanced:Bindings]]
| next=[[Manual#Play|Manual: Playing Vega Strike]]
+
| next=[[Manual:Config:Advanced:Bindings:Mouse|Config:Advanced:Bindings:Mouse]]
 
}}
 
}}
[[Category:Manual|Config]]
+
[[Category:Manual|Config:Advanced:Bindings:Keyboard]]

Latest revision as of 17:55, 20 July 2013

View this site in other languages:   DeutschEnglishFrançaisEspañolPolskiItalianoNederlandsРуccкий简体中文


arrow_left.png Config:Advanced:Bindings arrow_up.png Config:Advanced:Bindings Config:Advanced:Bindings:Mouse arrow_right.png

Keyboard Configuration

This page provides working examples of different keyboard layouts, showing how each key (differentiating between lower and upper case) has been bound to operate a single Vega Strike function.

If a Keyboard Configuration matches your keyboard, you can edit copy the configuration here into your vegastrike config file.

KEYBOARD: bind

Sample

<bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />

Description

  • key - Specify the key here (FIXME this is now a bit of a hassle for non-english keyboards)
    • lowercase letters/characters = without SHIFT_LEFT_EN.png
    • uppercase letters/characters = with SHIFT_LEFT_EN.png
  • modifier - Use a modifier key (case-sensitive)
    • none - Don't use a modifier (FIXME same as without this tag?).
    • alt - Require the ALT_EN.png key.
    • ctrl - Require the CTRL_EN.png key.
    • shift - Require the SHIFT_LEFT_EN.png key. Usually you cannot write symbols like uppercase space or keypad symbols in config.
  • command - Specify the command to start when the button is pressed here.

Keyboard Examples

Please insert working keyboard configs here.

Old Style Mac keyboard

The little one without a 'del' key among others.

<bind key="S" modifier="none" command="Cockpit::SkipMusicTrack" />
<bind key="F" modifier="none" command="CommFormUp" />
<bind key="B" modifier="none" command="CommBreakForm" />
<bind key="H" modifier="none" command="CommHelpMeOut" />
<bind key="D" modifier="none" command="CommAttackTarget" />
<bind key="1" modifier="none" command="Comm1Key" />
<bind key="2" modifier="none" command="Comm2Key" />
<bind key="3" modifier="none" command="Comm3Key" />
<bind key="4" modifier="none" command="Comm4Key" />
<bind key="5" modifier="none" command="Comm5Key" />
<bind key="6" modifier="none" command="Comm6Key" />
<bind key="7" modifier="none" command="Comm7Key" />
<bind key="8" modifier="none" command="Comm8Key" />
<bind key="9" modifier="none" command="Comm9Key" />
<bind key="space" modifier="none" command="FireKey" />
<bind key="y" modifier="none" command="SwitchCombatMode" />
<bind key="j" modifier="none" command="JumpKey" />
<bind key="J" modifier="none" command="JoyStickToggleKey" />
<bind key="A" modifier="none" command="AutoKey" />
<bind key="a" modifier="none" command="AutoKey" />
<bind key="c" modifier="none" command="CloakKey" />
<bind key="E" modifier="none" command="EjectKey" />
<bind key="e" modifier="none" command="ECMKey" />
<bind key="Z" modifier="none" command="EjectCargoKey" />
<bind key="return" modifier="none" command="MissileKey" />
<bind key="keypad-enter" modifier="none" command="MissileKey" />
<bind key="g" modifier="none" command="WeapSelKey"/>
<bind key=";" modifier="none" command="Respawn"/>
<bind key="[" modifier="none" command="SwitchControl"/>
<bind key="]" modifier="none" command="TurretControl"/>
<bind key="d" modifier="none" command="DockKey"/>
 <!--<bind key="u" modifier="none" command="UnDockKey"/>-->
<bind key="0" modifier="none" command="RequestClearenceKey"/>
<bind key="m" modifier="none" command="MisSelKey"/>
<bind key="t" modifier="none" command="TargetKey" />
<bind key="n" modifier="none" command="SigTargetKey" />
<bind key="b" modifier="none" command="SubUnitTargetKey"/>
<bind key="u" modifier="none" command="UnitTargetKey" />
<bind key="l" modifier="none" command="LockTargetKey" />
<bind key="p" modifier="none" command="PickTargetKey" />
<bind key="h" modifier="none" command="NearestTargetKey" />
<bind key="T" modifier="none" command="ReverseTargetKey" />
<bind key="P" modifier="none" command="TurretTargetKey" />
<bind key="o" modifier="none" command="TurretAIKey" />
<bind key="H" modifier="none" command="ReverseNearestTargetKey" />
<bind key="N" modifier="none" command="ReverseSigTargetKey" />
<bind key="U" modifier="none" command="ReverseUnitTargetKey" />
<bind key="`" modifier="none" command="SheltonKey" />
<bind key="-" modifier="none" command="DecelKey"/>
<bind key="+" modifier="none" command="AccelKey" />
<bind key="keypad-minus" modifier="none" command="DecelKey"/>
<bind key="keypad-plus" modifier="none" command="AccelKey" />
<bind key="=" modifier="none" command="AccelKey"/>
<bind key="/" modifier="none" command="RollLeftKey"/>
<bind key="*" modifier="none" command="RollRightKey"/>
<bind key="keypad-divide" modifier="none" command="RollLeftKey"/>
<bind key="keypad-multiply" modifier="none" command="RollRightKey"/>
 <!-- GILES backspace misinterpreted on keypad
  <bind key="backspace" modifier="none" command="StopKey"/>
 # -->
<bind key="'" modifier="none" command="StopKey"/>
<bind key="\" modifier="none" command="StartKey"/>
<bind key="tab" modifier="none" command="ABKey" />
<bind key="!" modifier="none" command="SuicideKey"/>
<bind key="cursor-up" modifier="none" command="UpKey"/>
<bind key="cursor-down" modifier="none" command="DownKey"/>
<bind key="cursor-left" modifier="none" command="RightKey"/>
<bind key="cursor-right" modifier="none" command="LeftKey"/>
<bind key="cursor-insert" modifier="none" command="RollLeftKey"/>
  <!-- GILES cursor-delete is backspace
   <bind key="cursor-delete" modifier="none" command="RollRightKey"/>
 # -->
<bind key="keypad-8" modifier="none" command="UpKey"/>
<bind key="keypad-2" modifier="none" command="DownKey"/>
<bind key="keypad-5" modifier="none" command="DownKey"/>
<bind key="keypad-4" modifier="none" command="RightKey"/>
<bind key="keypad-6" modifier="none" command="LeftKey"/>
<bind key="M" modifier="none" command="Cockpit::MapKey"/>
<bind key="function-1" modifier="none" command="Cockpit::Inside"/>
<bind key="function-2" modifier="none" command="Cockpit::InsideLeft"/>
<bind key="function-3" modifier="none" command="Cockpit::InsideRight"/>
<bind key="function-4" modifier="none" command="Cockpit::InsideBack"/>
<bind key="." command="VolumeInc"/>
<bind key="," command="VolumeDec"/>
<bind key="greater-than" command="MusicVolumeInc"/>
<bind key="less-than" command="MusicVolumeDec"/>
<bind key="function-5" modifier="none" command="Cockpit::Behind"/>
<bind key="function-6" modifier="none" command="Cockpit::Pan"/>
<bind key="function-9" modifier="none" command="TimeInc"/>
<bind key="|" modifier="none" command="PauseKey"/>
<bind key="pause" modifier="none" command="PauseKey"/>
<bind key="function-10" modifier="none" command="TimeReset"/>
<bind key="function-7" modifier="none" command="Cockpit::OutsideTarget"/>
<bind key="function-8" modifier="none" command="Cockpit::PanTarget"/>
<bind key="function-11" modifier="none" command="Cockpit::ZoomIn"/>
<bind key="function-12" modifier="none" command="Cockpit::ZoomOut"/>
<bind key="w" modifier="none" command="Cockpit::SwitchLVDU"/>
<bind key="v" modifier="none" command="Cockpit::SwitchRVDU"/>
<bind key="q" modifier="none" command="Cockpit::PitchDown"/>
<bind key="z" modifier="none" command="Cockpit::PitchUp"/>
<bind key="s" modifier="none" command="Cockpit::YawLeft"/>
<bind key="f" modifier="none" command="Cockpit::YawRight"/>
<bind key="cursor-pagedown" modifier="none" command="Cockpit::ScrollDown"/>
<bind key="cursor-pageup" modifier="none" command="Cockpit::ScrollUp"/>
<bind key="keypad-3" modifier="none" command="Cockpit::ScrollDown"/>
<bind key="keypad-9" modifier="none" command="Cockpit::ScrollUp"/>
<bind key="cursor-home" modifier="none" command="SetVelocityRefKey"/>
 <!-- GILES   <bind key="cursor-end" modifier="none" command="SetVelocityNullKey"/>
  # reassigning cursor-delete here -->
<bind key="cursor-delete" modifier="none" command="SetVelocityNullKey"/>
<bind key="keypad-7" modifier="none" command="SetVelocityRefKey"/>
<bind key="keypad-1" modifier="none" command="SetVelocityNullKey"/>
<bind key="esc" modifier="none" command="Cockpit::Quit"/>

Keypad Thrusters

Helps a lot on ships with decent lateral acceleration - mostly fighters and Rlaan vessels that have lateral acceleration as the main advantage - and for docking.

	<bind key="keypad-0"      modifier="none" command="NearestDangerousHostileKey" />
	<bind key="keypad-period" modifier="none" command="LockTargetKey" /> # ergonomical if you use "PickTargetKey" on mouse or NearestDangerousHostileKeythe above, and keep "MissileKey" on keypad Enter
	<bind key="keypad-1"      modifier="none" command="SwitchCombatMode" />
	<bind key="keypad-2"      modifier="none" command="ThrustDown"/>
	<bind key="keypad-3"      modifier="none" command="ThrustBack"/>
	<bind key="keypad-4"      modifier="none" command="ThrustLeft"/>
	<bind key="keypad-5"      modifier="none" command="Flight::Mode::InertialToggle"/>
	<bind key="keypad-6"      modifier="none" command="ThrustRight"/>
	<bind key="keypad-7"      modifier="none" command="MatchSpeedKey" />
	<bind key="keypad-8"      modifier="none" command="ThrustUp"/>
	<bind key="keypad-9"      modifier="none" command="ThrustFront"/>

Keypad View Switch

(more geometrically obvious binding for those who have no proper HAT switch)

	<bind key="keypad-minus"  modifier="shift" command="Cockpit::ZoomOut"/>
	<bind key="keypad-plus"   modifier="shift" command="Cockpit::ZoomIn" />
	<bind key="keypad-0"      modifier="shift" command="Cockpit::ZoomReset"/>

	<bind key="keypad-1"      modifier="shift" command="Cockpit::OutsideTarget"/>
	<bind key="keypad-2"      modifier="shift" command="Cockpit::InsideBack"/>
	<bind key="keypad-3"      modifier="shift" command="Cockpit::Behind"/>
	<bind key="keypad-4"      modifier="shift" command="Cockpit::InsideLeft"/>
	<bind key="keypad-5"      modifier="shift" command="Cockpit::ViewTarget"/>
	<bind key="keypad-6"      modifier="shift" command="Cockpit::InsideRight"/>
	<bind key="keypad-7"      modifier="shift" command="Cockpit::PanTarget"/>
	<bind key="keypad-8"      modifier="shift" command="Cockpit::Inside"/>
	<bind key="keypad-9"      modifier="shift" command="Cockpit::Pan"/>
	<bind key="cursor-up"     modifier="shift" command="Cockpit::PitchDown"/>
	<bind key="cursor-down"   modifier="shift" command="Cockpit::PitchUp"/>
	<bind key="cursor-left"   modifier="shift" command="Cockpit::YawLeft"/>
	<bind key="cursor-right"  modifier="shift" command="Cockpit::YawRight"/>

Missile Targetting

If we have thrust somewhere else, we may as well use these buttons for two very useful commands absent in the default setup. Even without turrets, missiles can be shot with autotracking and/or beams. "[Reverse]MissileTargetKey" also cycles through salvage, so it's also scavenger-friendly.

	<bind key="." modifier="none" command="IncomingMissileTargetKey"/>
	<bind key="greater-than" modifier="none" command="ReverseIncomingMissileTargetKey"/>
	<bind key="," modifier="none" command="MissileTargetKey"/>
	<bind key="less-than" modifier="none" command="ReverseMissileTargetKey"/>

Alternatively, use Ins/Del, because roll keys are closer on keypad:

	<bind key="cursor-insert" modifier="none" command="MissileTargetKey"/>
	<bind key="cursor-insert" modifier="shift" command="ReverseMissileTargetKey"/>
	<bind key="cursor-delete" modifier="none" command="IncomingMissileTargetKey"/>
	<bind key="cursor-delete" modifier="shift" command="ReverseIncomingMissileTargetKey"/>

...and how it all fits together:

INS_EN.png Target missiles/crates
SHIFT_LEFT_EN.png cycle back
HOME_EN.png Velocity reference PAGE_UP_EN.png Scroll text up NP_NUM_EN.png Roll Left NP_SLASH_GENERAL.png Roll Right NP_MULT_GENERAL.png NP_HYPHEN_GENERAL.png Decrease set velocity
SHIFT_LEFT_EN.png Zoom Out
DEL_EN.png Incoming missiles
SHIFT_LEFT_EN.png cycle back
END_EN.png Reset reference PAGE_DOWN_EN.png Scroll text down Match Velocity NP_7_EN.png
Pan view - Target SHIFT_LEFT_EN.png
Thrust Up NP_8_EN.png
Cockpit View SHIFT_LEFT_EN.png
Thrust Front NP_9_EN.png
Pan view SHIFT_LEFT_EN.png
NP_PLUS_EN.png Increase set velocity
SHIFT_LEFT_EN.png Zoom In
Thrust Left NP_4_EN.png
Look Left SHIFT_LEFT_EN.png
Inertial Mode NP_5_EN.png
View Target SHIFT_LEFT_EN.png
Thrust Right NP_6_EN.png
Look Right SHIFT_LEFT_EN.png
UP_CURSOR_GENERAL.png Turn Down
SHIFT_LEFT_EN.png Camera Down
Combat/Travel NP_1_EN.png
Target, 3rd-person SHIFT_LEFT_EN.png
Thrust down NP_2_EN.png
Look back SHIFT_LEFT_EN.png
Thrust back NP_3_EN.png
View from Behind SHIFT_LEFT_EN.png
NP_ENTER_EN.png Fire missiles
LEFT_CURSOR_GENERAL.png Turn Left
SHIFT_LEFT_EN.png Camera Left
DOWN_CURSOR_GENERAL.png Turn Up
SHIFT_LEFT_EN.png Camera Up
RIGHT_CURSOR_GENERAL.png Turn Right
SHIFT_LEFT_EN.png Camera Right
Nearest Threat NP_0_EN.png
Reset Zoom SHIFT_LEFT_EN.png
Lock Target NP_DOT_EN.png



arrow_left.png Config:Advanced:Bindings arrow_up.png Config:Advanced:Bindings Config:Advanced:Bindings:Mouse arrow_right.png