Fully softcoded the key defaults.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@980 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-06-16 02:53:58 +00:00
parent 1fd2db3614
commit 6c8922b4df
3 changed files with 99 additions and 154 deletions
+68 -45
View File
@@ -1,62 +1,85 @@
# Sample UQM input configuration file. This file may replace the
# automatically generated keys.cfg if you wish; there is no difference
# in behavior. This one just has more comments in it.
# Default UQM input configuration file.
# This is the actual key configuration. Most keys can be described in
# a straightforward manner; consult the name table in
# Keyboard control definitions follow this point. Most keys can be
# described in a straightforward manner; consult the name table in
# src/sc2code/libs/input/sdl/keynames.c for the names of unusual keys.
# Most keys can be named by just the symbol they produce.
Menu-Select: key Return
Player-1-Thrust: key Return
Lander-Thrust: key Return
Player-1-Escape: key Escape
Lander-Escape: key Escape
Menu-Cancel: key Space
Player-1-Weapon: key Space
Lander-Weapon: key Space
Player-2-Left: key a
Player-2-Right: key d
Player-2-Weapon: key t
Player-2-Thrust: key w
Player-2-Special: key y
Menu-Down: key Keypad-2
Menu-Page-Down: key Keypad-3
Menu-Left: key Keypad-4
Player-1-Left: key Keypad-4
Lander-Left: key Keypad-4
Menu-Right: key Keypad-6
Player-1-Right: key Keypad-6
Lander-Right: key Keypad-6
Menu-Up: key Keypad-8
Player-1-Thrust: key Keypad-8
Lander-Thrust: key Keypad-8
Menu-Page-Up: key Keypad-9
Menu-Zoom-Out: key Keypad--
Menu-Zoom-In: key Keypad-+
Menu-Select: key Keypad-Enter
Player-1-Thrust: key Keypad-Enter
Lander-Thrust: key Keypad-Enter
# Menu controls. Both sets of arrow keys, basically. Paging controls
# moving quickly through the file lists in Super Melee. Zooming
# controls zoom controls in the starmap. "Cancel" is also used to get
# you into menu mode to begin with. There is a "Menu-Special" command
# currently unused by the game. It seems to have been originally used
# to call up details on starships in the Super Melee selection screen.
# Arrow key controls...
Menu-Up: key Up
Player-1-Thrust: key Up
Lander-Thrust: key Up
Menu-Down: key Down
Menu-Right: key Right
Player-1-Right: key Right
Lander-Right: key Right
Menu-Left: key Left
Player-1-Left: key Left
Lander-Left: key Left
Menu-Page-Up: key PageUp
Menu-Zoom-In: key PageUp
Menu-Page-Down: key PageDown
Menu-Zoom-In: key PageUp
Menu-Zoom-Out: key PageDown
Menu-Select: key Return
Menu-Cancel: key Space
# ... and the number pad. Note that zoom controls on the starmap are
# different from the paging controls in Super Melee.
Menu-Up: key Keypad-8
Menu-Down: key Keypad-2
Menu-Left: key Keypad-4
Menu-Right: key Keypad-6
Menu-Page-Up: key Keypad-9
Menu-Page-Down: key Keypad-3
Menu-Zoom-In: key Keypad-+
Menu-Zoom-Out: key Keypad--
Menu-Select: key Keypad-Enter
Menu-Cancel: key Keypad-0
# Player 1's flight controls. This is the bottom player in Super
# Melee and the player in the full game. Again, the player has the
# option of using either the number pad or the arrow keys.
Player-1-Thrust: key Return
Player-1-Thrust: key Up
Player-1-Left: key Left
Player-1-Right: key Right
Player-1-Weapon: key RightShift
Player-1-Special: key RightControl
Player-1-Escape: key Escape
Player-1-Thrust: key Keypad-Enter
Player-1-Thrust: key Keypad-8
Player-1-Left: key Keypad-4
Player-1-Right: key Keypad-6
# Lander controls. These map mostly to Player 1's controls.
Lander-Thrust: key Return
Lander-Thrust: key Up
Lander-Left: key Left
Lander-Right: key Right
Lander-Thrust: key Keypad-Enter
Lander-Thrust: key Keypad-8
Lander-Left: key Keypad-4
Lander-Right: key Keypad-6
Lander-Weapon: key RightShift
Lander-Escape: key Escape
# Player 2's flight controls.
Player-2-Thrust: key e
Player-2-Left: key s
Player-2-Right: key f
Player-2-Weapon: key q
Player-2-Special: key a
# System utility keys.
Pause: key F1
Exit: key F10
Abort: key F12
Player-1-Weapon: key RightShift
Lander-Weapon: key RightShift
Player-1-Special: key RightControl
# This is a sample joystick configuration. This is intended to work
# primarily under WinXP with a USB analag/digital gamepad. The