Move the configure and keyconfig data into subtrees of the resource map. As a side effect, default key configurations are read directly from the content directory.
THIS IS AN INCOMPATIBLE CHANGE TO THE CONFIG FILES. Update content as well as src when upgrading here. Old configurations will be lost but the upgrade should otherwise be automatic. Bumped version to 0.6.5 to commemorate the incompatible change. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3108 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+66
-66
@@ -1,71 +1,71 @@
|
||||
keys.1.name = Arrows
|
||||
keys.1.up.1 = key Up
|
||||
keys.1.down.1 = key Down
|
||||
keys.1.left.1 = key Left
|
||||
keys.1.right.1 = key Right
|
||||
keys.1.weapon.1 = key RightControl
|
||||
keys.1.special.1 = key RightShift
|
||||
keys.1.up.2 = key Keypad-8
|
||||
keys.1.down.2 = key Keypad-2
|
||||
keys.1.left.2 = key Keypad-4
|
||||
keys.1.right.2 = key Keypad-6
|
||||
keys.1.weapon.2 = key Return
|
||||
keys.1.special.2 = key Keypad-0
|
||||
keys.1.escape.1 = key Escape
|
||||
1.name = STRING:Arrows
|
||||
1.up.1 = STRING:key Up
|
||||
1.down.1 = STRING:key Down
|
||||
1.left.1 = STRING:key Left
|
||||
1.right.1 = STRING:key Right
|
||||
1.weapon.1 = STRING:key RightControl
|
||||
1.special.1 = STRING:key RightShift
|
||||
1.up.2 = STRING:key Keypad-8
|
||||
1.down.2 = STRING:key Keypad-2
|
||||
1.left.2 = STRING:key Keypad-4
|
||||
1.right.2 = STRING:key Keypad-6
|
||||
1.weapon.2 = STRING:key Return
|
||||
1.special.2 = STRING:key Keypad-0
|
||||
1.escape.1 = STRING:key Escape
|
||||
|
||||
keys.2.name = WASD
|
||||
keys.2.up.1 = key w
|
||||
keys.2.down.1 = key s
|
||||
keys.2.left.1 = key a
|
||||
keys.2.right.1 = key d
|
||||
keys.2.weapon.1 = key v
|
||||
keys.2.special.1 = key b
|
||||
keys.2.escape.1 = key Escape
|
||||
2.name = STRING:WASD
|
||||
2.up.1 = STRING:key w
|
||||
2.down.1 = STRING:key s
|
||||
2.left.1 = STRING:key a
|
||||
2.right.1 = STRING:key d
|
||||
2.weapon.1 = STRING:key v
|
||||
2.special.1 = STRING:key b
|
||||
2.escape.1 = STRING:key Escape
|
||||
|
||||
keys.3.name = Arrows (2)
|
||||
keys.3.up.1 = key Up
|
||||
keys.3.down.1 = key Down
|
||||
keys.3.left.1 = key Left
|
||||
keys.3.right.1 = key Right
|
||||
keys.3.up.2 = key Keypad-8
|
||||
keys.3.down.2 = key Keypad-2
|
||||
keys.3.left.2 = key Keypad-4
|
||||
keys.3.right.2 = key Keypad-6
|
||||
keys.3.weapon.1 = key ]
|
||||
keys.3.special.1 = key [
|
||||
keys.3.escape.1 = key Escape
|
||||
3.name = STRING:Arrows (2)
|
||||
3.up.1 = STRING:key Up
|
||||
3.down.1 = STRING:key Down
|
||||
3.left.1 = STRING:key Left
|
||||
3.right.1 = STRING:key Right
|
||||
3.up.2 = STRING:key Keypad-8
|
||||
3.down.2 = STRING:key Keypad-2
|
||||
3.left.2 = STRING:key Keypad-4
|
||||
3.right.2 = STRING:key Keypad-6
|
||||
3.weapon.1 = STRING:key ]
|
||||
3.special.1 = STRING:key [
|
||||
3.escape.1 = STRING:key Escape
|
||||
|
||||
keys.4.name = ESDF
|
||||
keys.4.up.1 = key e
|
||||
keys.4.down.1 = key d
|
||||
keys.4.left.1 = key s
|
||||
keys.4.right.1 = key f
|
||||
keys.4.weapon.1 = key q
|
||||
keys.4.special.1 = key a
|
||||
keys.4.escape.1 = key Escape
|
||||
4.name = STRING:ESDF
|
||||
4.up.1 = STRING:key e
|
||||
4.down.1 = STRING:key d
|
||||
4.left.1 = STRING:key s
|
||||
4.right.1 = STRING:key f
|
||||
4.weapon.1 = STRING:key q
|
||||
4.special.1 = STRING:key a
|
||||
4.escape.1 = STRING:key Escape
|
||||
|
||||
keys.5.name = Joystick 1
|
||||
keys.5.up.1 = joystick 0 axis 1 negative
|
||||
keys.5.down.1 = joystick 0 axis 1 positive
|
||||
keys.5.left.1 = joystick 0 axis 0 negative
|
||||
keys.5.right.1 = joystick 0 axis 0 positive
|
||||
keys.5.up.2 = joystick 0 hat 0 up
|
||||
keys.5.down.2 = joystick 0 hat 0 down
|
||||
keys.5.left.2 = joystick 0 hat 0 left
|
||||
keys.5.right.2 = joystick 0 hat 0 right
|
||||
keys.5.weapon.1 = joystick 0 button 0
|
||||
keys.5.special.1 = joystick 0 button 1
|
||||
keys.5.escape.1 = key Escape
|
||||
5.name = STRING:Joystick 1
|
||||
5.up.1 = STRING:joystick 0 axis 1 negative
|
||||
5.down.1 = STRING:joystick 0 axis 1 positive
|
||||
5.left.1 = STRING:joystick 0 axis 0 negative
|
||||
5.right.1 = STRING:joystick 0 axis 0 positive
|
||||
5.up.2 = STRING:joystick 0 hat 0 up
|
||||
5.down.2 = STRING:joystick 0 hat 0 down
|
||||
5.left.2 = STRING:joystick 0 hat 0 left
|
||||
5.right.2 = STRING:joystick 0 hat 0 right
|
||||
5.weapon.1 = STRING:joystick 0 button 0
|
||||
5.special.1 = STRING:joystick 0 button 1
|
||||
5.escape.1 = STRING:key Escape
|
||||
|
||||
keys.6.name = Joystick 2
|
||||
keys.6.up.1 = joystick 1 axis 1 negative
|
||||
keys.6.down.1 = joystick 1 axis 1 positive
|
||||
keys.6.left.1 = joystick 1 axis 0 negative
|
||||
keys.6.right.1 = joystick 1 axis 0 positive
|
||||
keys.6.up.2 = joystick 1 hat 0 up
|
||||
keys.6.down.2 = joystick 1 hat 0 down
|
||||
keys.6.left.2 = joystick 1 hat 0 left
|
||||
keys.6.right.2 = joystick 1 hat 0 right
|
||||
keys.6.weapon.1 = joystick 1 button 0
|
||||
keys.6.special.1 = joystick 1 button 1
|
||||
keys.6.escape.1 = key Escape
|
||||
6.name = STRING:Joystick 2
|
||||
6.up.1 = STRING:joystick 1 axis 1 negative
|
||||
6.down.1 = STRING:joystick 1 axis 1 positive
|
||||
6.left.1 = STRING:joystick 1 axis 0 negative
|
||||
6.right.1 = STRING:joystick 1 axis 0 positive
|
||||
6.up.2 = STRING:joystick 1 hat 0 up
|
||||
6.down.2 = STRING:joystick 1 hat 0 down
|
||||
6.left.2 = STRING:joystick 1 hat 0 left
|
||||
6.right.2 = STRING:joystick 1 hat 0 right
|
||||
6.weapon.1 = STRING:joystick 1 button 0
|
||||
6.special.1 = STRING:joystick 1 button 1
|
||||
6.escape.1 = STRING:key Escape
|
||||
|
||||
Reference in New Issue
Block a user