Control schema shift to Menus + Control Templates.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2308 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2006-04-11 07:20:14 +00:00
parent 6f050cc7bd
commit 223d701322
34 changed files with 547 additions and 439 deletions
+103 -92
View File
@@ -1,7 +1,7 @@
# Default UQM input configuration file.
# This is a VCONTROL version 2 config file (UQM 0.5 or later).
version 2
# This is a VCONTROL version 3 config file (UQM 0.5.1 or later).
version 3
# Keyboard control definitions follow this point. Most keys can be
# described in a straightforward manner; consult the name table in
@@ -56,51 +56,34 @@ Menu-Delete: key Keypad-.
# 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 Up
Player-1-Left: key Left
Player-1-Right: key Right
Player-1-Weapon: key Return
Player-1-Weapon: key RightControl
Player-1-Special: key RightShift
Player-1-Escape: key Escape
Keyboard-1-Up: key Up
Keyboard-1-Down: key Down
Keyboard-1-Left: key Left
Keyboard-1-Right: key Right
Keyboard-1-Weapon: key Return
Keyboard-1-Weapon: key RightControl
Keyboard-1-Special: key RightShift
Keyboard-1-Escape: key Escape
Player-1-Thrust: key Keypad-8
Player-1-Left: key Keypad-4
Player-1-Right: key Keypad-6
Player-1-Weapon: key Keypad-Enter
Player-1-Special: key Keypad-0
Keyboard-1-Up: key Keypad-8
Keyboard-1-Down: key Keypad-2
Keyboard-1-Left: key Keypad-4
Keyboard-1-Right: key Keypad-6
Keyboard-1-Weapon: key Keypad-Enter
Keyboard-1-Special: key Keypad-0
Player-1-Weapon: key ]
Player-1-Special: key [
# Lander controls. These map mostly to Player 1's controls.
Lander-Thrust: key Up
Lander-Left: key Left
Lander-Right: key Right
Lander-Weapon: key Return
Lander-Weapon: key RightControl
Lander-Escape: key RightShift
Lander-Escape: key Space
Lander-Thrust: key Keypad-8
Lander-Left: key Keypad-4
Lander-Right: key Keypad-6
Lander-Weapon: key Keypad-Enter
Lander-Escape: key Keypad-0
Lander-Weapon: key ]
Lander-Escape: key [
Lander-Escape: key Escape
Keyboard-1-Weapon: key ]
Keyboard-1-Special: key [
# Player 2's flight controls. We add the key 'd' to let him
# move down in the super-melee ship selection.
Player-2-Thrust: key e
Player-2-Left: key s
Player-2-Right: key f
Player-2-Down: key d
Player-2-Weapon: key q
Player-2-Special: key a
Keyboard-2-Up: key e
Keyboard-2-Down: key d
Keyboard-2-Left: key s
Keyboard-2-Right: key f
Keyboard-2-Weapon: key q
Keyboard-2-Special: key a
Keyboard-2-Escape: key Escape
# System utility keys.
Pause: key Pause
@@ -116,73 +99,101 @@ Exit: key F10
# that UQM can handle.
joystick 0 threshold 10000 # How far to move before it counts; 0-30000
Menu-Left: joystick 0 axis 0 negative
Player-1-Left: joystick 0 axis 0 negative
Lander-Left: joystick 0 axis 0 negative
Menu-Right: joystick 0 axis 0 positive
Player-1-Right: joystick 0 axis 0 positive
Lander-Right: joystick 0 axis 0 positive
Joystick-1-Up: joystick 0 axis 1 negative
Joystick-1-Down: joystick 0 axis 1 positive
Joystick-1-Left: joystick 0 axis 0 negative
Joystick-1-Right: joystick 0 axis 0 positive
Joystick-1-Up: joystick 0 hat 0 up
Joystick-1-Down: joystick 0 hat 0 down
Joystick-1-Left: joystick 0 hat 0 left
Joystick-1-Right: joystick 0 hat 0 right
Joystick-1-Weapon: joystick 0 button 1
Joystick-1-Special: joystick 0 button 0
Joystick-1-Escape: joystick 0 button 6
Menu-Up: joystick 0 axis 1 negative
Player-1-Thrust: joystick 0 axis 1 negative
Lander-Thrust: joystick 0 axis 1 negative
Menu-Down: joystick 0 axis 1 positive
Menu-Left: joystick 0 axis 0 negative
Menu-Right: joystick 0 axis 0 positive
Menu-Up: joystick 0 hat 0 up
Menu-Down: joystick 0 hat 0 down
Menu-Left: joystick 0 hat 0 left
Menu-Right: joystick 0 hat 0 right
Menu-Cancel: joystick 0 button 0
Player-1-Special: joystick 0 button 0
Menu-Select: joystick 0 button 1
Player-1-Weapon: joystick 0 button 1
Lander-Weapon: joystick 0 button 1
Menu-Page-Up: joystick 0 button 4
Menu-Page-Down: joystick 0 button 5
Menu-Zoom-In: joystick 0 button 6
Player-1-Escape: joystick 0 button 6
Lander-Escape: joystick 0 button 6
Menu-Zoom-Out: joystick 0 button 7
# And now the POV hat controls.
Menu-Left: joystick 0 hat 0 left
Player-1-Left: joystick 0 hat 0 left
Lander-Left: joystick 0 hat 0 left
Menu-Right: joystick 0 hat 0 right
Player-1-Right: joystick 0 hat 0 right
Lander-Right: joystick 0 hat 0 right
Menu-Up: joystick 0 hat 0 up
Player-1-Thrust: joystick 0 hat 0 up
Lander-Thrust: joystick 0 hat 0 up
Menu-Down: joystick 0 hat 0 down
# Second joystick
joystick 1 threshold 10000 # How far to move before it counts; 0-30000
Menu-Left: joystick 1 axis 0 negative
Player-1-Left: joystick 1 axis 0 negative
Lander-Left: joystick 1 axis 0 negative
Menu-Right: joystick 1 axis 0 positive
Player-1-Right: joystick 1 axis 0 positive
Lander-Right: joystick 1 axis 0 positive
Joystick-2-Up: joystick 1 axis 1 negative
Joystick-2-Down: joystick 1 axis 1 positive
Joystick-2-Left: joystick 1 axis 0 negative
Joystick-2-Right: joystick 1 axis 0 positive
Joystick-2-Up: joystick 1 hat 0 up
Joystick-2-Down: joystick 1 hat 0 down
Joystick-2-Left: joystick 1 hat 0 left
Joystick-2-Right: joystick 1 hat 0 right
Joystick-2-Weapon: joystick 1 button 1
Joystick-2-Special: joystick 1 button 0
Joystick-2-Escape: joystick 1 button 6
Menu-Up: joystick 1 axis 1 negative
Player-1-Thrust: joystick 1 axis 1 negative
Lander-Thrust: joystick 1 axis 1 negative
Menu-Down: joystick 1 axis 1 positive
Menu-Left: joystick 1 axis 0 negative
Menu-Right: joystick 1 axis 0 positive
Menu-Up: joystick 1 hat 0 up
Menu-Down: joystick 1 hat 0 down
Menu-Left: joystick 1 hat 0 left
Menu-Right: joystick 1 hat 0 right
Menu-Cancel: joystick 1 button 0
Player-1-Special: joystick 1 button 0
Menu-Select: joystick 1 button 1
Player-1-Weapon: joystick 1 button 1
Lander-Weapon: joystick 1 button 1
Menu-Page-Up: joystick 1 button 4
Menu-Page-Down: joystick 1 button 5
Menu-Zoom-In: joystick 1 button 6
Player-1-Escape: joystick 1 button 6
Lander-Escape: joystick 1 button 6
Menu-Zoom-Out: joystick 1 button 7
# POV hat controls for the second joystick
Menu-Left: joystick 1 hat 0 left
Player-1-Left: joystick 1 hat 0 left
Lander-Left: joystick 1 hat 0 left
Menu-Right: joystick 1 hat 0 right
Player-1-Right: joystick 1 hat 0 right
Lander-Right: joystick 1 hat 0 right
Menu-Up: joystick 1 hat 0 up
Player-1-Thrust: joystick 1 hat 0 up
Lander-Thrust: joystick 1 hat 0 up
Menu-Down: joystick 1 hat 0 down
joystick 2 threshold 10000 # How far to move before it counts; 0-30000
Joystick-3-Up: joystick 2 axis 1 negative
Joystick-3-Down: joystick 2 axis 1 positive
Joystick-3-Left: joystick 2 axis 0 negative
Joystick-3-Right: joystick 2 axis 0 positive
Joystick-3-Up: joystick 2 hat 0 up
Joystick-3-Down: joystick 2 hat 0 down
Joystick-3-Left: joystick 2 hat 0 left
Joystick-3-Right: joystick 2 hat 0 right
Joystick-3-Weapon: joystick 2 button 1
Joystick-3-Special: joystick 2 button 0
Joystick-3-Escape: joystick 2 button 6
Menu-Up: joystick 2 axis 1 negative
Menu-Down: joystick 2 axis 1 positive
Menu-Left: joystick 2 axis 0 negative
Menu-Right: joystick 2 axis 0 positive
Menu-Up: joystick 2 hat 0 up
Menu-Down: joystick 2 hat 0 down
Menu-Left: joystick 2 hat 0 left
Menu-Right: joystick 2 hat 0 right
Menu-Cancel: joystick 2 button 0
Menu-Select: joystick 2 button 1
Menu-Page-Up: joystick 2 button 4
Menu-Page-Down: joystick 2 button 5
Menu-Zoom-In: joystick 2 button 6
Menu-Zoom-Out: joystick 2 button 7