summaryrefslogtreecommitdiff
path: root/config/override.cfg
blob: cd4be5870a1e4703df873e0ac9f7faa30185c03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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