Files
mcmartin 2b41e76eeb Allow F6 as a search key, for user-friendliness and support for non-US keyboards.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3672 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-27 20:54:35 +00:00

87 lines
2.8 KiB
Plaintext

# 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 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
cancel.3 = STRING:key Escape
# ... 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 Backspace
editcancel.1 = STRING:key Escape
search.1 = STRING:key /
search.2 = STRING:key F6
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.
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