New key config for slayne's input code

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@514 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-31 20:58:36 +00:00
parent ee58414d99
commit 31e237baab
+84
View File
@@ -0,0 +1,84 @@
# File format:
# Three lines for Pause Key, Exit Key, Abort Key
# 9 lines for player 1, 9 lines for player 2 in the following order:
# Left, Right, Up, Down, Button 1, Button 2, Button 3,
# Left Shift, Right Shift
#
# Each player's key listing can begin with an optional joystick declaration
# of the format:
# <JoyportX-thresholdT> where X is the joystick port (0-based) and T is the
# threshold. Digital pads can use a threshold of 0, but analog joysticks
# may need a non-zero threshold to handle jittering
#
# Lines beginning with a '#' are ignored
# Each line contains one or two entries
# The first entry must be a keyboard key, enclosed in quotes
# Use "Up" for up arrow, "Down" for down arrow, etc.
# You can chord keys together like this: "F2,F3"
# The second entry, if present, will be separated from the first entry by a
# space. It represents a joystick button press / axis motion
# The format for joystick button presses is
# <Joy-Bn> where n is the button number
# The format for joystick axis movement is
# <Joy-An+> or <Joy-An-> where n is the axis number, and the
# + or - represents the direction of movement
# You can combine two joystick button presses with
# <Joy-Cn,m> where n and m are button numbers
# ----------------------------------------------------------------------------
#
# Pause
"p"
# Exit
"F10"
# Abort
"F12"
#
# Player 1 (keyboard only)
#
"Left"
"Right"
"Up"
"Down"
"Enter"
" "
"RCtrl"
"LShift"
"RShift"
#
# Example Player 1 (for a 2-axis, 2-button joypad)
#
#<Joyport0-threshold0>
#"Left" <Joy-A0->
#"Right" <Joy-A0+>
#"Up" <Joy-A1->
#"Down" <Joy-A1+>
#"Enter" <Joy-B0>
#" " <Joy-B1>
#"RCtrl" <Joy-C0,1>
#"LShift"
#"RShift"
#
# Example Player 1 (for a gravis xterminator)
#
#<Joyport0-threshold2185>
#"Left" <Joy-A7->
#"Right" <Joy-A7+>
#"Up" <Joy-A8->
#"Down" <Joy-A8+>
#"Enter" <Joy-B2>
#" " <Joy-B3>
#"RCtrl" <Joy-B4>
#"LShift" <Joy-B0>
#"RShift" <Joy-B1>
#
# Player 2 (keyboard only)
#
"s"
"f"
"e"
"d"
"w"
"q"
"a"
""
""