Difference between revisions of "Bindable keys"

From Team Fortress Wiki
Jump to: navigation, search
m (1 revision: Imported from TF2 Wiki.)
m
Line 548: Line 548:
  
 
[[Category:Scripts]]
 
[[Category:Scripts]]
 
[[Category:Every page]]
 

Revision as of 00:52, 27 June 2010

The following is a list of bindable keys in TF2 and the terms used in scripting. The Left column shows the name used in TF2 scripting to identify each key. The right column shows the key's name in plain English.


Example: bind KP_5 +attack would bind the +attack command to the #5 key on the keypad.


Scripting Name Normal Name
1 One
2 Two
3 Three
4 Four
5 Five
6 Six
7 Seven
8 Eight
9 Nine
0 Zero
A A
B B
C C
D D
E E
F F
G G
H H
I I
J J
K K
L L
M M
N N
O O
P P
Q Q
R R
S S
T T
U U
V V
W W
X X
Y Y
Z Z
F1 F1
F2 F2
F3 F3
F4 F4
F5 F5
F6 F6
F7 F7
F8 F8
F9 F9
F10 F10
F11 F11
F12 F12
` Left Quote or Tilde
' Right Quote
- Hyphen
= Equals sign
] Right Bracket
\ Forward Slash
, Comma
/ Backslash
SPACE Spacebar
ENTER Enter
ESCAPE Escape
PAUSE Pause/Break
BACKSPACE Backspace
TAB Tab
SEMICOLON Semicolon ;
SHIFT Shift
CTRL Control
ALT Alt
UPARROW Up Arrow
DOWNARROW Down Arrow
LEFTARROW Left Arrow
RIGHTARROW Right Arrow
INS Insert
HOME Home
PGUP Page Up
PGDN Page Down
DEL Delete
END End
KP_HOME Keypad Home/7
KP_UPARROW Keypad Up Arrow/8
KP_PGUP Keypad Page Up/9
KP_LEFTARROW Keypad Left Arrow/4
KP_5 Keypad 5
KP_RIGHTARROW Keypad Right Arrow/6
KP_END Keypad End/1
KP_ENTER Keypad Enter
KP_DOWNARROW Keypad Down Arrow/2
KP_PGDN Keypad Page Down/3
KP_INS Keypad Insert/0
KP_DEL Keypad Delete
KP_SLASH Keypad Backslash
KP_MINUS Keypad Hyphen
KP_PLUS Keypad Plus
KP_MULTIPLY Keypad Asterisk
MOUSE1 Mouse Button 1
MOUSE2 Mouse Button 2
MOUSE3 Mouse Button 3 (Middle Button)
MOUSE4 Mouse Button 4(*)
MOUSE5 Mouse Button 5(*)
MWHEELUP Mouse Scroll Wheel Up
MWHEELDOWN Mouse Scroll Wheel Down

(*)Not standard on all mice. Only applies when the mice uses those two buttons as generic buttons.