首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

flex游戏发动机(PushButton)-控制输入(2)

2012-11-03 
flex游戏引擎(PushButton)-控制输入(2)InputMap Key 名以下是使用在InputMap class中的键,每个键盘的标签

flex游戏引擎(PushButton)-控制输入(2)
InputMap Key 名

以下是使用在InputMap class中的键,每个键盘的标签做为InputKey class 的常量名,也在XML定义的InputMap使用。

Navigation KeysPAGE_UP
The page up key. PAGE_DOWN
The page down key. END
The end key. HOME
The home key. LEFT (LEFT_ARROW)
The left arrow key. RIGHT (RIGHT_ARROW)
The right arrow key. UP (UP_ARROW)
The up arrow key. DOWN (DOWN_ARROW)
The down arrow key. Number KeysZERO (0, NUMBER_0)
The '0' key at the top of the keyboard (not the number pad). ONE (1, NUMBER_1)
The '1' key at the top of the keyboard (not the number pad). TWO (2, NUMBER_2)
The '2' key at the top of the keyboard (not the number pad). THREE (3, NUMBER_3)
The '3' key at the top of the keyboard (not the number pad). FOUR (4, NUMBER_4)
The '4' key at the top of the keyboard (not the number pad). FIVE (5, NUMBER_5)
The '5' key at the top of the keyboard (not the number pad). SIX (6, NUMBER_6)
The '6' key at the top of the keyboard (not the number pad). SEVEN (7, NUMBER_7)
The '7' key at the top of the keyboard (not the number pad). EIGHT (8, NUMBER_8)
The '8' key at the top of the keyboard (not the number pad). NINE (9, NUMBER_9)
The '9' key at the top of the keyboard (not the number pad). Letter KeysA
The A key. B
The B key. C
The C key. D
The D key. E
The E key. F
The F key. G
The G key. H
The H key. I
The I key. J
The J key. K
The K key. L
The L key. M
The M key. N
The N key. O
The O key. P
The P key. Q
The Q key. R
The R key. S
The S key. T
The T key. U
The U key. V
The V key. W
The W key. X
The X key. Y
The Y key. Z
The Z key. Number Pad KeysNUM0 (NUMPAD_0)
Zero on the number pad. NUM1 (NUMPAD_1)
One on the number pad. NUM2 (NUMPAD_2)
Two on the number pad. NUM3 (NUMPAD_3)
Three on the number pad. NUM4 (NUMPAD_4)
Four on the number pad. NUM5 (NUMPAD_5)
Five on the number pad. NUM6 (NUMPAD_6)
Six on the number pad. NUM7 (NUMPAD_7)
Seven on the number pad. NUM8 (NUMPAD_8)
Eight on the number pad. NUM9 (NUMPAD_9)
Nine on the number pad. MULTIPLY (ASTERISK, NUMMULTIPLY, NUMPAD_MULTIPLY)
The asterisk key on the number pad (*). ADD (NUMADD, NUMPAD_ADD)
The add key on the number pad (+). SUBTRACT (NUMSUBTRACT, NUMPAD_SUBTRACT)
The subtract key on the number pad (-). DECIMAL (NUMDECIMAL, NUMPERIOD, NUMPAD_DECIMAL, NUMPAD_PERIOD)
The decimal key on the number pad (.). DIVIDE (NUMDIVIDE, NUMPAD_DIVIDE)
The divide key on the number pad (/). NUMENTER (NUMPAD_ENTER)
The enter key on the number pad. Function KeysF1
The first function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F2
The second function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F3
The third function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F4
The fourth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F5
The fifth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F6
The sixth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F7
The seventh function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F8
The eighth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F9
The ninth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F11
The eleventh function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F12
The twelfth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F13
The thirteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F14
The fourteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. F15
The fifteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon. Punctuation KeysPLUS (EQUAL)
The equals key (=). This is not the add key on the number pad. MINUS (UNDERSCORE)
The minus key (-). This is not the subtract key on the number pad. COLON (SEMICOLON)
The semi-colon key (;). COMMA (LESS_THAN)
The comma key (,). PERIOD (GREATER_THAN)
The period key (.). This is not the decimal on the number pad. BACKSLASH (QUESTION_MARK)
The backslash key (/). This is not the divid key on the number pad. SLASH (FORWARD_SLASH, PIPE)
The forward slash key (\). TILDE (BACKQUOTE)
The tilde key (~). LEFT_BRACKET (LEFT_BRACE)
The left bracket key ([). RIGHT_BRACKET (RIGHT_BRACE)
The right bracket key (]). QUOTE
The quote key ('). Other KeysBACKSPACE
The backspace key. Labeled 'delete' on Apple keyboards. TAB
The tab key. SPACE (SPACE_BAR)
The space bar key. ENTER (RETURN)
The enter key. Labeled 'return' on Apple keyboards. This is not the enter key on the number pad. SHIFT
Either the left or right shift key. CONTROL
Either the left or right control key. COMMAND
The command key. Only available on OSX. ALT (OPTION, ALTERNATE)
The alt key. Labeled 'option' on Apple keyboards. PAUSE
The pause key. Sometimes this is labeled 'break'. ESCAPE
The escape key. INSERT
The insert key. DELETE
The delete key. This is the forward delete key on Apple keyboards. CAPS_LOCK
The caps lock key. NUM_LOCK
The num lock key. SCROLL_LOCK
The scroll lock key. MouseMOUSE_BUTTON
The left mouse button. MOUSE_X
Horizontal mouse movement. MOUSE_Y
Vertical mouse movement.

热点排行