public interface KeyInput extends Input
Modifier and Type | Field and Description |
---|---|
static int |
KEY_0
0 key.
|
static int |
KEY_1
1 key.
|
static int |
KEY_2
2 key.
|
static int |
KEY_3
3 key.
|
static int |
KEY_4
4 key.
|
static int |
KEY_5
5 key.
|
static int |
KEY_6
6 key.
|
static int |
KEY_7
7 key.
|
static int |
KEY_8
8 key.
|
static int |
KEY_9
9 key.
|
static int |
KEY_A
a key.
|
static int |
KEY_ADD
+ key (num pad).
|
static int |
KEY_APOSTROPHE
' key.
|
static int |
KEY_APPS |
static int |
KEY_AT
@ key (NEC PC98).
|
static int |
KEY_AX
ax key (Japanese).
|
static int |
KEY_B
b key.
|
static int |
KEY_BACK
back key.
|
static int |
KEY_BACKSLASH
\ key.
|
static int |
KEY_C
c key.
|
static int |
KEY_CAPITAL
caps lock key.
|
static int |
KEY_CIRCUMFLEX
circum flex key (Japanese).
|
static int |
KEY_COLON
: key (NEC PC98)
|
static int |
KEY_COMMA
, key.
|
static int |
KEY_CONVERT
convert key (Japanese).
|
static int |
KEY_D
d key.
|
static int |
KEY_DECIMAL
.
|
static int |
KEY_DELETE
delete key.
|
static int |
KEY_DIVIDE
/ key (num pad).
|
static int |
KEY_DOWN
down arrow key.
|
static int |
KEY_E
e key.
|
static int |
KEY_END
end key.
|
static int |
KEY_EQUALS
= key.
|
static int |
KEY_ESCAPE
escape key.
|
static int |
KEY_F
f key.
|
static int |
KEY_F1
F1 key.
|
static int |
KEY_F10
F10 key.
|
static int |
KEY_F11
F11 key.
|
static int |
KEY_F12
F12 key.
|
static int |
KEY_F13
F13 key.
|
static int |
KEY_F14
F14 key.
|
static int |
KEY_F15
F15 key.
|
static int |
KEY_F2
F2 key.
|
static int |
KEY_F3
F3 key.
|
static int |
KEY_F4
F4 key.
|
static int |
KEY_F5
F5 key.
|
static int |
KEY_F6
F6 key.
|
static int |
KEY_F7
F7 key.
|
static int |
KEY_F8
F8 key.
|
static int |
KEY_F9
F9 key.
|
static int |
KEY_G
g key.
|
static int |
KEY_GRAVE
` key.
|
static int |
KEY_H
h key.
|
static int |
KEY_HOME
home key.
|
static int |
KEY_I
i key.
|
static int |
KEY_INSERT
insert key.
|
static int |
KEY_J
j key.
|
static int |
KEY_K
k key.
|
static int |
KEY_KANA
kana key (Japanese).
|
static int |
KEY_KANJI
kanji key (Japanese).
|
static int |
KEY_L
l key.
|
static int |
KEY_LAST
the last key.
|
static int |
KEY_LBRACKET
[ key.
|
static int |
KEY_LCONTROL
left control key.
|
static int |
KEY_LEFT
left arrow key.
|
static int |
KEY_LMENU
left alt key.
|
static int |
KEY_LMETA
Left "Windows" key on PC keyboards, left "Option" key on Mac keyboards.
|
static int |
KEY_LSHIFT
left shift key.
|
static int |
KEY_M
m key.
|
static int |
KEY_MINUS
- key.
|
static int |
KEY_MULTIPLY
* key (on keypad).
|
static int |
KEY_N
n key.
|
static int |
KEY_NEXT
PgDn key.
|
static int |
KEY_NOCONVERT
noconvert key (Japanese).
|
static int |
KEY_NUMLOCK
NumLK key.
|
static int |
KEY_NUMPAD0
0 key (num pad).
|
static int |
KEY_NUMPAD1
1 key (num pad).
|
static int |
KEY_NUMPAD2
2 key (num pad).
|
static int |
KEY_NUMPAD3
3 key (num pad).
|
static int |
KEY_NUMPAD4
4 key (num pad).
|
static int |
KEY_NUMPAD5
5 key (num pad).
|
static int |
KEY_NUMPAD6
6 key (num pad).
|
static int |
KEY_NUMPAD7
7 key (num pad).
|
static int |
KEY_NUMPAD8
8 key (num pad).
|
static int |
KEY_NUMPAD9
9 key (num pad).
|
static int |
KEY_NUMPADCOMMA
, key on num pad (NEC PC98).
|
static int |
KEY_NUMPADENTER
Enter key (num pad).
|
static int |
KEY_NUMPADEQUALS
= on num pad (NEC PC98).
|
static int |
KEY_O
o key.
|
static int |
KEY_P
p key.
|
static int |
KEY_PAUSE
pause key.
|
static int |
KEY_PERIOD
.
|
static int |
KEY_PGDN
PgDn key.
|
static int |
KEY_PGUP
PgUp key.
|
static int |
KEY_POWER
power key.
|
static int |
KEY_PRIOR
PgUp key.
|
static int |
KEY_PRTSCR
PrtScr key.
|
static int |
KEY_Q
q key.
|
static int |
KEY_R
r key.
|
static int |
KEY_RBRACKET
] key.
|
static int |
KEY_RCONTROL
right control key.
|
static int |
KEY_RETURN
enter (main keyboard) key.
|
static int |
KEY_RIGHT
right arrow key.
|
static int |
KEY_RMENU
right alt key.
|
static int |
KEY_RMETA
Right "Windows" key on PC keyboards, right "Option" key on Mac keyboards.
|
static int |
KEY_RSHIFT
right shift key.
|
static int |
KEY_S
s key.
|
static int |
KEY_SCROLL
Scroll lock key.
|
static int |
KEY_SEMICOLON
; key.
|
static int |
KEY_SLASH
/ key (main keyboard).
|
static int |
KEY_SLEEP
sleep key.
|
static int |
KEY_SPACE
space key.
|
static int |
KEY_STOP
stop key (NEC PC98).
|
static int |
KEY_SUBTRACT
- key (num pad).
|
static int |
KEY_SYSRQ
SysRq key.
|
static int |
KEY_T
t key.
|
static int |
KEY_TAB
tab key.
|
static int |
KEY_U
u key.
|
static int |
KEY_UNDERLINE
_ key (NEC PC98).
|
static int |
KEY_UNKNOWN
unmapped key.
|
static int |
KEY_UNLABELED
(J3100).
|
static int |
KEY_UP
up arrow key.
|
static int |
KEY_V
v key.
|
static int |
KEY_W
w key.
|
static int |
KEY_X
x key.
|
static int |
KEY_Y
y key.
|
static int |
KEY_YEN
yen key (Japanese).
|
static int |
KEY_Z
z key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeyName(int key)
Determine the name of the specified key in the current system language.
|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update
static final int KEY_UNKNOWN
static final int KEY_ESCAPE
static final int KEY_1
static final int KEY_2
static final int KEY_3
static final int KEY_4
static final int KEY_5
static final int KEY_6
static final int KEY_7
static final int KEY_8
static final int KEY_9
static final int KEY_0
static final int KEY_MINUS
static final int KEY_EQUALS
static final int KEY_BACK
static final int KEY_TAB
static final int KEY_Q
static final int KEY_W
static final int KEY_E
static final int KEY_R
static final int KEY_T
static final int KEY_Y
static final int KEY_U
static final int KEY_I
static final int KEY_O
static final int KEY_P
static final int KEY_LBRACKET
static final int KEY_RBRACKET
static final int KEY_RETURN
static final int KEY_LCONTROL
static final int KEY_A
static final int KEY_S
static final int KEY_D
static final int KEY_F
static final int KEY_G
static final int KEY_H
static final int KEY_J
static final int KEY_K
static final int KEY_L
static final int KEY_SEMICOLON
static final int KEY_APOSTROPHE
static final int KEY_GRAVE
static final int KEY_LSHIFT
static final int KEY_BACKSLASH
static final int KEY_Z
static final int KEY_X
static final int KEY_C
static final int KEY_V
static final int KEY_B
static final int KEY_N
static final int KEY_M
static final int KEY_COMMA
static final int KEY_PERIOD
static final int KEY_SLASH
static final int KEY_RSHIFT
static final int KEY_MULTIPLY
static final int KEY_LMENU
static final int KEY_SPACE
static final int KEY_CAPITAL
static final int KEY_F1
static final int KEY_F2
static final int KEY_F3
static final int KEY_F4
static final int KEY_F5
static final int KEY_F6
static final int KEY_F7
static final int KEY_F8
static final int KEY_F9
static final int KEY_F10
static final int KEY_NUMLOCK
static final int KEY_SCROLL
static final int KEY_NUMPAD7
static final int KEY_NUMPAD8
static final int KEY_NUMPAD9
static final int KEY_SUBTRACT
static final int KEY_NUMPAD4
static final int KEY_NUMPAD5
static final int KEY_NUMPAD6
static final int KEY_ADD
static final int KEY_NUMPAD1
static final int KEY_NUMPAD2
static final int KEY_NUMPAD3
static final int KEY_NUMPAD0
static final int KEY_DECIMAL
static final int KEY_F11
static final int KEY_F12
static final int KEY_F13
static final int KEY_F14
static final int KEY_F15
static final int KEY_KANA
static final int KEY_CONVERT
static final int KEY_NOCONVERT
static final int KEY_YEN
static final int KEY_NUMPADEQUALS
static final int KEY_CIRCUMFLEX
static final int KEY_AT
static final int KEY_COLON
static final int KEY_UNDERLINE
static final int KEY_KANJI
static final int KEY_STOP
static final int KEY_AX
static final int KEY_UNLABELED
static final int KEY_PRTSCR
static final int KEY_NUMPADENTER
static final int KEY_RCONTROL
static final int KEY_NUMPADCOMMA
static final int KEY_DIVIDE
static final int KEY_SYSRQ
static final int KEY_RMENU
static final int KEY_PAUSE
static final int KEY_HOME
static final int KEY_UP
static final int KEY_PRIOR
static final int KEY_PGUP
static final int KEY_LEFT
static final int KEY_RIGHT
static final int KEY_END
static final int KEY_DOWN
static final int KEY_NEXT
static final int KEY_PGDN
static final int KEY_INSERT
static final int KEY_DELETE
static final int KEY_LMETA
static final int KEY_RMETA
static final int KEY_APPS
static final int KEY_POWER
static final int KEY_SLEEP
static final int KEY_LAST
java.lang.String getKeyName(int key)
key
- The keycode from KeyInput