Unity3d KeyCode each key value description

Source: Internet
Author: User
Tags delete key print print

The Keycode:keycode is returned by Event.keycode. These directly map to physical keys on the keyboard.

Http://docs.unity3d.com/ScriptReference/KeyCode.html

Http://blog.163.com/[email protected]/blog/static/11598384820131072391343/


Value corresponding key
Backspace backspace key
Delete Delete key
Tab Tabtab Key
Clear Clear Key
Return Enter
Pause suspend key
Escape ESC Key
Space SPACEBAR
Keypad0 Numpad 0
Keypad1 Numpad 1
Keypad2 Numpad 2
Keypad3 Numpad 3
KEYPAD4 Numpad 4
KEYPAD5 Numpad 5
KEYPAD6 Numpad 6
Keypad7 Numpad 7
Keypad8 Numpad 8
KEYPAD9 Numpad 9
Keypadperiod keypad "."
Keypaddivide keypad "/"
keypadmultiply Keypad "*"
Keypadminus keypad "-"
Keypadplus keypad "+"
Keypadenter keypad "Enter"
Keypadequals keypad "="
UpArrow on the arrow keys
DownArrow under the direction key
RightArrow Arrow key Right
Leftarrow Arrow key Left
Insert Insert Key
Home Home Key
EndEnd key
PageUp PageUp Key
PageDown PageDown Key
F1 function Key F1
F2 function Key F2
F3 function Key F3
F4 function Key F4
F5 function Key F5
F6 function Key F6
F7 function Key F7
F8 function Key F8
F9 function Key F9
F10 function Key F10
F11 function Key F11
F12 function Key F12
F13 function Key F13
F14 function Key F14
F15 function Key F15
ALPHA0 Button 0
ALPHA1 Button 1
ALPHA2 Button 2
ALPHA3 Button 3
ALPHA4 Button 4
Alpha5 Button 5
Alpha6 Button 6
Alpha7 Button 7
Alpha8 Button 7
ALPHA9 Button 9
Exclaim '! ' Key
Doublequote Double Quote Key
Hash hash key
Dollar ' $ ' key
Ampersandampersand Key
Quote Single Quote key
Leftparen Left Bracket key
Rightparen closing parenthesis Key
Asterisk ' * ' key
Plus ' + ' key
Comma ', ' key
Minus '-' key
Period '. ' Key
Slash '/' key
Colon ': ' Key
Semicolon '; ' Key
Less ' < ' keys
Equals ' = ' key
Greater ' > ' key
Question '? ' Key
At ' @ ' key
Leftbracket ' [' Key
Backslash ' \ ' key
Rightbracket '] ' key
Caret ' ^ ' key
Underscore ' _ ' key
Backquote "key
A ' a ' key
B ' B ' key
C ' C ' key
d ' d ' key
E ' e ' key
F ' f ' key
G ' G ' key
H ' h ' key
I ' I ' key
J ' J ' key
K ' K ' key
L ' l ' key
M ' m ' key
n ' n ' key
O ' o ' key
P ' p ' key
Q ' q ' key
R ' R ' key
S ' s ' key
T ' t ' key
U ' u ' key
V ' V ' key
W ' W ' key
X ' x ' key
Y ' y ' key
Z ' z ' key
NumLock NumLock Key
Capslock Casing Lock key
Scrolllockscroll Lock key
RightShift Right Upper File button
Leftshift Left upper File button
Rightcontrol the right CTRL key
Leftcontrol Left CTRL key
RightAlt Right ALT key
Leftalt Left ALT key
Leftapple left Apple key
Leftwindows left Windows key
Rightapple Right Apple key
Rightwindows Right Windows key
AltGr ALT gr Key
Help button
Print Print key
SysReq Sys req Key
Break Break key
Mouse0 left mouse button
Mouse1 right mouse button
Mouse2 Middle mouse button
MOUSE3 Mouse 3rd button
Mouse4 Mouse 4th button
Mouse5 Mouse 5th button
Mouse6 Mouse 6th button
JoystickButton0 Handle button 0
JoystickButton1 Handle Button 1
JoystickButton2 Handle Button 2
JoystickButton3 Handle Button 3
JoystickButton4 Handle Button 4
JOYSTICKBUTTON5 Handle Button 5
JoystickButton6 Handle Button 6
JoystickButton7 Handle Button 7
JoystickButton8 Handle Button 8
JoystickButton9 Handle Button 9
JOYSTICKBUTTON10 Handle Button 10
JoystickButton11 Handle Button 11
JoystickButton12 Handle Button 12
JoystickButton13 Handle Button 13
JOYSTICKBUTTON14 Handle Button 14
JoystickButton15 Handle Button 15
JoystickButton16 Handle Button 16
JOYSTICKBUTTON17 Handle Button 17
JoystickButton18 Handle Button 18
JoystickButton19 Handle button 19
Joystick1button0 First Handle button 0
Joystick1button1 First Handle button 1
Joystick1button2 First Handle button 2
Joystick1button3 First Handle button 3
Joystick1button4 First Handle button 4
JOYSTICK1BUTTON5 First Handle button 5
Joystick1button6 First Handle button 6
Joystick1button7 First Handle button 7
Joystick1button8 First Handle button 8
Joystick1button9 First Handle button 9
JOYSTICK1BUTTON10 First Handle button 10
Joystick1button11 First Handle button 11
Joystick1button12 First Handle button 12
Joystick1button13 First Handle button 13
JOYSTICK1BUTTON14 First Handle button 14
Joystick1button15 First Handle button 15
Joystick1button16 First Handle button 16
JOYSTICK1BUTTON17 First Handle button 17
Joystick1button18 First Handle button 18
Joystick1button19 First handle button 19
Joystick2button0 Second handle button 0
Joystick2button1 Second handle button 1
Joystick2button2 Second handle button 2
Joystick2button3 Second handle button 3
Joystick2button4 Second handle button 4
Joystick2button5 Second handle button 5
Joystick2button6 Second handle button 6
joystick2button7 Second handle button 7
Joystick2button8 Second Handle button 8
Joystick2button9 Second Handle button 9
Joystick2button10 Second Handle button 10
Joystick2button11 Second Handle button 11
Joystick2button12 Second Handle button 12
Joystick2button13 Second handle button 13
Joystick2button14 Second handle button 14
Joystick2button15 Second Handle button 15
Joystick2button16 Second Handle button 16
joystick2button17 Second Handle button 17
Joystick2button18 Second Handle button 18
Joystick2button19 Second handle button 19
Joystick3button0 Third handle button 0
Joystick3button1 Third handle button 1
Joystick3button2 Third handle button 2
Joystick3button3 Third handle button 3
Joystick3button4 Third handle button 4
Joystick3button5 Third handle Button 5
Joystick3button6 Third handle Button 6
joystick3button7 Third handle Button 7
Joystick3button8 Third Handle Button 8
Joystick3button9 Third Handle Button 9
Joystick3button10 Third Handle button 10
Joystick3button11 Third Handle button 11
Joystick3button12 Third Handle button 12
Joystick3button13 Third handle button 13
Joystick3button14 Third handle button 14
Joystick3button15 Third Handle button 15
Joystick3button16 Third Handle button 16
Joystick3button17 Third Handle button 17
Joystick3button18 Third Handle button 18
Joystick3button19 Third handle button 19

Unity3d KeyCode each key value description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.