summaryrefslogtreecommitdiff
path: root/config/override.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/override.cfg')
-rw-r--r--config/override.cfg86
1 files changed, 86 insertions, 0 deletions
diff --git a/config/override.cfg b/config/override.cfg
new file mode 100644
index 0000000..cd4be58
--- /dev/null
+++ b/config/override.cfg
@@ -0,0 +1,86 @@
+# Keyboard control definitions for the menus. 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 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 "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...
+up.1 = STRING:key Up
+down.1 = STRING:key Down
+right.1 = STRING:key Right
+left.1 = STRING:key Left
+pageup.1 = STRING:key Tab
+pagedown.1 = STRING:key Backspace
+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 Space
+cancel.1 = STRING:key RightControl
+cancel.2 = STRING:key RightShift
+cancel.3 = STRING:key LeftControl
+
+# ... and the number pad. Note that zoom controls on the starmap are
+# different from the paging controls in Super Melee.
+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.4 = STRING:key Keypad-0
+
+# System utility keys.
+delete.1 = STRING:key Delete
+delete.2 = STRING:key Keypad-.
+backspace.1 = STRING:key PageDown
+editcancel.1 = STRING:key F10
+search.1 = STRING:key /
+search.2 = STRING:key F6
+next.1 = STRING:key PageUp
+pause.1 = STRING:key Pause
+pause.2 = STRING:key F1
+exit.1 = STRING:key Escape
+fullscreen.1 = STRING:key F11
+special.1 = STRING:key LeftAlt
+special.2 = STRING:key RightAlt
+
+# Joystick controls, for both port 1 and 2.
+
+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
+
+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
+
+cancel.5 = STRING:joystick 0 button 1
+select.4 = STRING:joystick 0 button 0
+
+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
+
+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
+
+cancel.6 = STRING:joystick 1 button 1
+select.5 = STRING:joystick 1 button 0