InputMap Key 名
以下是使用在InputMap class中的键,每个键盘的标签做为InputKey class 的常量名,也在XML定义的InputMap使用。
Navigation Keys
-
PAGE_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 Keys
-
ZERO (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 Keys
-
A
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 Keys
-
NUM0 (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 Keys
-
F1
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 Keys
-
PLUS (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 Keys
-
BACKSPACE
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.
Mouse
-
MOUSE_BUTTON
The left mouse button.
-
MOUSE_X
Horizontal mouse movement.
-
MOUSE_Y
Vertical mouse movement.
分享到:
相关推荐
NULL 博文链接:https://deepfuture.iteye.com/blog/709512
NULL 博文链接:https://deepfuture.iteye.com/blog/709889
NULL 博文链接:https://deepfuture.iteye.com/blog/709502
NULL 博文链接:https://deepfuture.iteye.com/blog/722156
帮助你快速了解PushButton的结构,尽快熟练应用
pushbutton engine是一个很好的flash游戏开发引擎,包含了常用的游戏组件,让设计师更注重游戏性的开发
PushButton Engine is a free framework for building Flash games. There are lots of great libraries for Flash game development. PushButton Engine makes it easy to bring those libraries together to build...
一款很强大的flash游戏开发引擎,分享下
一键式语音/停止技能 关于 假设有一个连接到Raspberry Pi的按钮,则会编写此Mycroft技能。 短按该按钮与说出唤醒词相同,然后允许用户说出命令。 长按与发出“停止”命令相同,因此将停止播放任何音频。...
原创pushbutton应用显示多行文字及数学公式-003v2.rar 因為修改太多~重新發帖~ 舊帖請至 https://www.ilovematlab.cn/thread-86806-1-4.html 查看 該函數應該已經很完善 如果有出現問題可至下方網址的日誌回報 ...
Flash2D+3D游戏引擎: Flixel 位图引擎; Pushbutton engine; FlashPunk 引擎; As3isolibj; Away3D; Alternativa3D; Flare3D; CopperCube; Sophie3D;
ui->pushButton->setEnabled(false); myCom->setBaudRate(BAUD9600); myCom->setDataBits(DATA_8); myCom->setParity(PAR_NONE); myCom->setStopBits(STOP_1); myCom->setTimeout(500); connect(myCom,...
通过点击Qt中的pushbutton,可以弹出菜单,菜单选项是QAction,可以连接槽完成相应功能。Qt工程是基于Qt5.10.1 32位,Qt Creator 4.5.1(Community)
带Icon的自绘PushButton示例
智能家居自动化:GIRA PUSHBUTTON SENSOR 4,GIRA TASTSENSOR 4.pdf
遗传算法
STM32F103ZET6+sram+3.2TFT-lcd屏开发板硬件设计原理图+PCB源文件,Altium Designer 设计的工程文件,包括原理图及PCB文件,2层板设计,板子大小为116x90mm,双面布局布线,可以用Altium(AD)软件打开或修改,可作为...
pushbutton1_Callback.m
带Icon的自绘PushButton
SW PUSHBUTTON_5 TP XTAL_1 PCB封装库: Component Count : 17 Component Name ----------------------------------------------- 0603-C 0603-R 0805-C 1206-C 1206-FB Button CE 2.5/5 CE 5/8 DC IN LAN ...