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:
mcmartin
2009-02-16 00:40:42 +00:00
parent f2e4a8e223
commit c4f404af0a
12 changed files with 312 additions and 495 deletions
+59 -59
View File
@@ -6,79 +6,79 @@
# 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
# you into menu mode to begin with. There is a "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.1 = key Up
menu.down.1 = key Down
menu.right.1 = key Right
menu.left.1 = key Left
menu.pageup.1 = key PageUp
menu.pagedown.1 = key PageDown
menu.home.1 = key Home
menu.end.1 = key End
menu.zoomin.1 = key PageUp
menu.zoomout.1 = key PageDown
menu.select.1 = key Return
menu.select.2 = key RightControl
menu.cancel.1 = key Space
menu.cancel.2 = key RightShift
up.1 = STRING:key Up
down.1 = STRING:key Down
right.1 = STRING:key Right
left.1 = STRING:key Left
pageup.1 = STRING:key PageUp
pagedown.1 = STRING:key PageDown
home.1 = STRING:key Home
end.1 = STRING:key End
zoomin.1 = STRING:key PageUp
zoomout.1 = STRING:key PageDown
select.1 = STRING:key Return
select.2 = STRING:key RightControl
cancel.1 = STRING:key Space
cancel.2 = STRING:key RightShift
# ... and the number pad. Note that zoom controls on the starmap are
# different from the paging controls in Super Melee.
menu.up.2 = key Keypad-8
menu.down.2 = key Keypad-2
menu.left.2 = key Keypad-4
menu.right.2 = key Keypad-6
menu.pageup.2 = key Keypad-9
menu.pagedown.2 = key Keypad-3
menu.home.2 = key Keypad-7
menu.end.2 = key Keypad-1
menu.zoomin.2 = key Keypad-+
menu.zoomout.2 = key Keypad--
menu.select.3 = key Keypad-Enter
menu.cancel.3 = key Keypad-0
up.2 = STRING:key Keypad-8
down.2 = STRING:key Keypad-2
left.2 = STRING:key Keypad-4
right.2 = STRING:key Keypad-6
pageup.2 = STRING:key Keypad-9
pagedown.2 = STRING:key Keypad-3
home.2 = STRING:key Keypad-7
end.2 = STRING:key Keypad-1
zoomin.2 = STRING:key Keypad-+
zoomout.2 = STRING:key Keypad--
select.3 = STRING:key Keypad-Enter
cancel.3 = STRING:key Keypad-0
# System utility keys.
menu.delete.1 = key Delete
menu.delete.2 = key Keypad-.
menu.backspace.1 = key Backspace
menu.editcancel.1 = key Escape
menu.search.1 = key /
menu.next.1 = key Tab
menu.pause.1 = key Pause
menu.pause.2 = key F1
menu.exit.1 = key F10
menu.fullscreen.1 = key F11
menu.special.1 = key LeftAlt
menu.special.2 = key RightAlt
delete.1 = STRING:key Delete
delete.2 = STRING:key Keypad-.
backspace.1 = STRING:key Backspace
editcancel.1 = STRING:key Escape
search.1 = STRING:key /
next.1 = STRING:key Tab
pause.1 = STRING:key Pause
pause.2 = STRING:key F1
exit.1 = STRING:key F10
fullscreen.1 = STRING:key F11
special.1 = STRING:key LeftAlt
special.2 = STRING:key RightAlt
# Joystick controls, for both port 1 and 2.
menu.up.3 = joystick 0 axis 1 negative
menu.down.3 = joystick 0 axis 1 positive
menu.left.3 = joystick 0 axis 0 negative
menu.right.3 = joystick 0 axis 0 positive
up.3 = STRING:joystick 0 axis 1 negative
down.3 = STRING:joystick 0 axis 1 positive
left.3 = STRING:joystick 0 axis 0 negative
right.3 = STRING:joystick 0 axis 0 positive
menu.up.4 = joystick 0 hat 0 up
menu.down.4 = joystick 0 hat 0 down
menu.left.4 = joystick 0 hat 0 left
menu.right.4 = joystick 0 hat 0 right
up.4 = STRING:joystick 0 hat 0 up
down.4 = STRING:joystick 0 hat 0 down
left.4 = STRING:joystick 0 hat 0 left
right.4 = STRING:joystick 0 hat 0 right
menu.cancel.4 = joystick 0 button 1
menu.select.4 = joystick 0 button 0
cancel.4 = STRING:joystick 0 button 1
select.4 = STRING:joystick 0 button 0
menu.up.5 = joystick 1 axis 1 negative
menu.down.5 = joystick 1 axis 1 positive
menu.left.5 = joystick 1 axis 0 negative
menu.right.5 = joystick 1 axis 0 positive
up.5 = STRING:joystick 1 axis 1 negative
down.5 = STRING:joystick 1 axis 1 positive
left.5 = STRING:joystick 1 axis 0 negative
right.5 = STRING:joystick 1 axis 0 positive
menu.up.6 = joystick 1 hat 0 up
menu.down.6 = joystick 1 hat 0 down
menu.left.6 = joystick 1 hat 0 left
menu.right.6 = joystick 1 hat 0 right
up.6 = STRING:joystick 1 hat 0 up
down.6 = STRING:joystick 1 hat 0 down
left.6 = STRING:joystick 1 hat 0 left
right.6 = STRING:joystick 1 hat 0 right
menu.cancel.5 = joystick 1 button 1
menu.select.5 = joystick 1 button 0
cancel.5 = STRING:joystick 1 button 1
select.5 = STRING:joystick 1 button 0