public class WindowsKeyEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
KEYBOARD_KEYCODE_0
Keyboard key '0' keycode
|
static int |
KEYBOARD_KEYCODE_1
Keyboard key '1' keycode
|
static int |
KEYBOARD_KEYCODE_2
Keyboard key '2' keycode
|
static int |
KEYBOARD_KEYCODE_3
Keyboard key '3' keycode
|
static int |
KEYBOARD_KEYCODE_4
Keyboard key '4' keycode
|
static int |
KEYBOARD_KEYCODE_5
Keyboard key '5' keycode
|
static int |
KEYBOARD_KEYCODE_6
Keyboard key '6' keycode
|
static int |
KEYBOARD_KEYCODE_7
Keyboard key '7' keycode
|
static int |
KEYBOARD_KEYCODE_8
Keyboard key '8' keycode
|
static int |
KEYBOARD_KEYCODE_9
Keyboard key '9' keycode
|
static int |
KEYBOARD_KEYCODE_A
Keyboard key 'A' keycode
|
static int |
KEYBOARD_KEYCODE_ALT
Keyboard key 'alt' keycode
Note: Android can distinguish left and right keycode, use here
Keyboard.onKeyboard(int, boolean) to press/release key |
static int |
KEYBOARD_KEYCODE_APOSTROPHE
Keyboard key ''' keycode
|
static int |
KEYBOARD_KEYCODE_B
Keyboard key 'B' keycode
|
static int |
KEYBOARD_KEYCODE_BACKSLASH
Keyboard key '\' keycode
|
static int |
KEYBOARD_KEYCODE_BACKSPACE
Keyboard key 'BackSpace' keycode
|
static int |
KEYBOARD_KEYCODE_C
Keyboard key 'C' keycode
|
static int |
KEYBOARD_KEYCODE_CAPS_LOCK
Keyboard key 'CapsLock' keycode
|
static int |
KEYBOARD_KEYCODE_COMMA
Keyboard key ',' keycode
|
static int |
KEYBOARD_KEYCODE_CTRL
Keyboard key 'ctrl' keycode
Note: Android can distinguish left and right keycode, use here
Keyboard.onKeyboard(int, boolean) to press/release key |
static int |
KEYBOARD_KEYCODE_D
Keyboard key 'D' keycode
|
static int |
KEYBOARD_KEYCODE_DEL
Keyboard key 'Delete' keycode
|
static int |
KEYBOARD_KEYCODE_DOT
Keyboard key '.' keycode
|
static int |
KEYBOARD_KEYCODE_DPAD_DOWN
Keyboard key '⬇' keycode
|
static int |
KEYBOARD_KEYCODE_DPAD_LEFT
Keyboard key '⬅' keycode
|
static int |
KEYBOARD_KEYCODE_DPAD_RIGHT
Keyboard key '➡' keycode
|
static int |
KEYBOARD_KEYCODE_DPAD_UP
Keyboard key '⬆' keycode
|
static int |
KEYBOARD_KEYCODE_E
Keyboard key 'E' keycode
|
static int |
KEYBOARD_KEYCODE_END
Keyboard key 'End' keycode
|
static int |
KEYBOARD_KEYCODE_ENTER
Keyboard key 'Enter' keycode
|
static int |
KEYBOARD_KEYCODE_EQUALS
Keyboard key '=' keycode
|
static int |
KEYBOARD_KEYCODE_ESCAPE
Keyboard key 'ESC' keycode
|
static int |
KEYBOARD_KEYCODE_F
Keyboard key 'F' keycode
|
static int |
KEYBOARD_KEYCODE_F1
Keyboard key 'F1' keycode
|
static int |
KEYBOARD_KEYCODE_F10
Keyboard key 'F10' keycode
|
static int |
KEYBOARD_KEYCODE_F11
Keyboard key 'F11' keycode
|
static int |
KEYBOARD_KEYCODE_F12
Keyboard key 'F12' keycode
|
static int |
KEYBOARD_KEYCODE_F2
Keyboard key 'F2' keycode
|
static int |
KEYBOARD_KEYCODE_F3
Keyboard key 'F3' keycode
|
static int |
KEYBOARD_KEYCODE_F4
Keyboard key 'F4' keycode
|
static int |
KEYBOARD_KEYCODE_F5
Keyboard key 'F5' keycode
|
static int |
KEYBOARD_KEYCODE_F6
Keyboard key 'F6' keycode
|
static int |
KEYBOARD_KEYCODE_F7
Keyboard key 'F7' keycode
|
static int |
KEYBOARD_KEYCODE_F8
Keyboard key 'F8' keycode
|
static int |
KEYBOARD_KEYCODE_F9
Keyboard key 'F9' keycode
|
static int |
KEYBOARD_KEYCODE_G
Keyboard key 'G' keycode
|
static int |
KEYBOARD_KEYCODE_GRAV
Keyboard key '`' keycode
|
static int |
KEYBOARD_KEYCODE_H
Keyboard key 'H' keycode
|
static int |
KEYBOARD_KEYCODE_HOME
Keyboard key 'Home' keycode
|
static int |
KEYBOARD_KEYCODE_I
Keyboard key 'I' keycode
|
static int |
KEYBOARD_KEYCODE_INSERT
Keyboard key 'Insert' keycode
|
static int |
KEYBOARD_KEYCODE_J
Keyboard key 'J' keycode
|
static int |
KEYBOARD_KEYCODE_K
Keyboard key 'K' keycode
|
static int |
KEYBOARD_KEYCODE_L
Keyboard key 'L' keycode
|
static int |
KEYBOARD_KEYCODE_LEFT_BRACKET
Keyboard key '[' keycode
|
static int |
KEYBOARD_KEYCODE_M
Keyboard key 'M' keycode
|
static int |
KEYBOARD_KEYCODE_MINUS
Keyboard key '-' keycode
|
static int |
KEYBOARD_KEYCODE_N
Keyboard key 'N' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_LOCK
Keyboard key 'NumLock' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_0
Keyboard NumPad key '0' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_1
Keyboard NumPad key '1' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_2
Keyboard NumPad key '2' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_3
Keyboard NumPad key '3' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_4
Keyboard NumPad key '4' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_5
Keyboard NumPad key '5' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_6
Keyboard NumPad key '6' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_7
Keyboard NumPad key '7' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_8
Keyboard NumPad key '8' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_9
Keyboard NumPad key '9' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_ADD
Keyboard NumPad key '+' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_DIVIDE
Keyboard NumPad key '/' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_DOT
Keyboard NumPad key '.' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_ENTER
Keyboard NumPad key 'Enter' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_MULTIPLY
Keyboard NumPad key '*' keycode
|
static int |
KEYBOARD_KEYCODE_NUM_PAD_SUBTRACT
Keyboard NumPad key '-' keycode
|
static int |
KEYBOARD_KEYCODE_O
Keyboard key 'O' keycode
|
static int |
KEYBOARD_KEYCODE_P
Keyboard key 'P' keycode
|
static int |
KEYBOARD_KEYCODE_PAGE_DOWN
Keyboard key 'PageDown' keycode
|
static int |
KEYBOARD_KEYCODE_PAGE_UP
Keyboard key 'PageUp' keycode
|
static int |
KEYBOARD_KEYCODE_Q
Keyboard key 'Q' keycode
|
static int |
KEYBOARD_KEYCODE_R
Keyboard key 'R' keycode
|
static int |
KEYBOARD_KEYCODE_RIGHT_BRACKET
Keyboard key ']' keycode
|
static int |
KEYBOARD_KEYCODE_S
Keyboard key 'S' keycode
|
static int |
KEYBOARD_KEYCODE_SEMICOLON
Keyboard key ';' keycode
|
static int |
KEYBOARD_KEYCODE_SHIFT
Keyboard key 'shift' keycode
Note: Android can distinguish left and right keycode, use here
Keyboard.onKeyboard(int, boolean) to press/release key |
static int |
KEYBOARD_KEYCODE_SLASH
Keyboard key '/' keycode
|
static int |
KEYBOARD_KEYCODE_SPACE
Keyboard key 'Space' keycode
|
static int |
KEYBOARD_KEYCODE_T
Keyboard key 'T' keycode
|
static int |
KEYBOARD_KEYCODE_TAB
Keyboard key 'Tab' keycode
|
static int |
KEYBOARD_KEYCODE_U
Keyboard key 'U' keycode
|
static int |
KEYBOARD_KEYCODE_V
Keyboard key 'V' keycode
|
static int |
KEYBOARD_KEYCODE_W
Keyboard key 'W' keycode
|
static int |
KEYBOARD_KEYCODE_X
Keyboard key 'X' keycode
|
static int |
KEYBOARD_KEYCODE_Y
Keyboard key 'Y' keycode
|
static int |
KEYBOARD_KEYCODE_Z
Keyboard key 'Z' keycode
|
static int |
XBOX_KEYCODE_A
XBOX key 'A' keycode
|
static int |
XBOX_KEYCODE_B
XBOX key 'B' keycode
|
static int |
XBOX_KEYCODE_DOWN
XBOX key 'DPad ⬇' keycode
|
static int |
XBOX_KEYCODE_L1
XBOX key 'L1' keycode
|
static int |
XBOX_KEYCODE_L3
XBOX key 'L3' keycode
|
static int |
XBOX_KEYCODE_LEFT
XBOX key 'DPad ⬅' keycode
|
static int |
XBOX_KEYCODE_R1
XBOX key 'R1' keycode
|
static int |
XBOX_KEYCODE_R3
XBOX key 'R3' keycode
|
static int |
XBOX_KEYCODE_RIGHT
XBOX key 'DPad ➡' keycode
|
static int |
XBOX_KEYCODE_SELECT
XBOX key 'SELECT' keycode
|
static int |
XBOX_KEYCODE_START
XBOX key 'START' keycode
|
static int |
XBOX_KEYCODE_UP
XBOX key 'DPad ⬆' keycode
|
static int |
XBOX_KEYCODE_X
XBOX key 'X' keycode
|
static int |
XBOX_KEYCODE_Y
XBOX key 'Y' keycode
|
Constructor and Description |
---|
WindowsKeyEvent() |
public static final int XBOX_KEYCODE_SELECT
public static final int XBOX_KEYCODE_START
public static final int XBOX_KEYCODE_UP
public static final int XBOX_KEYCODE_DOWN
public static final int XBOX_KEYCODE_LEFT
public static final int XBOX_KEYCODE_RIGHT
public static final int XBOX_KEYCODE_X
public static final int XBOX_KEYCODE_Y
public static final int XBOX_KEYCODE_A
public static final int XBOX_KEYCODE_B
public static final int XBOX_KEYCODE_L1
public static final int XBOX_KEYCODE_R1
public static final int XBOX_KEYCODE_L3
public static final int XBOX_KEYCODE_R3
public static final int KEYBOARD_KEYCODE_0
public static final int KEYBOARD_KEYCODE_1
public static final int KEYBOARD_KEYCODE_2
public static final int KEYBOARD_KEYCODE_3
public static final int KEYBOARD_KEYCODE_4
public static final int KEYBOARD_KEYCODE_5
public static final int KEYBOARD_KEYCODE_6
public static final int KEYBOARD_KEYCODE_7
public static final int KEYBOARD_KEYCODE_8
public static final int KEYBOARD_KEYCODE_9
public static final int KEYBOARD_KEYCODE_A
public static final int KEYBOARD_KEYCODE_B
public static final int KEYBOARD_KEYCODE_C
public static final int KEYBOARD_KEYCODE_D
public static final int KEYBOARD_KEYCODE_E
public static final int KEYBOARD_KEYCODE_F
public static final int KEYBOARD_KEYCODE_G
public static final int KEYBOARD_KEYCODE_H
public static final int KEYBOARD_KEYCODE_I
public static final int KEYBOARD_KEYCODE_J
public static final int KEYBOARD_KEYCODE_K
public static final int KEYBOARD_KEYCODE_L
public static final int KEYBOARD_KEYCODE_M
public static final int KEYBOARD_KEYCODE_N
public static final int KEYBOARD_KEYCODE_O
public static final int KEYBOARD_KEYCODE_P
public static final int KEYBOARD_KEYCODE_Q
public static final int KEYBOARD_KEYCODE_R
public static final int KEYBOARD_KEYCODE_S
public static final int KEYBOARD_KEYCODE_T
public static final int KEYBOARD_KEYCODE_U
public static final int KEYBOARD_KEYCODE_V
public static final int KEYBOARD_KEYCODE_W
public static final int KEYBOARD_KEYCODE_X
public static final int KEYBOARD_KEYCODE_Y
public static final int KEYBOARD_KEYCODE_Z
public static final int KEYBOARD_KEYCODE_SEMICOLON
public static final int KEYBOARD_KEYCODE_EQUALS
public static final int KEYBOARD_KEYCODE_COMMA
public static final int KEYBOARD_KEYCODE_MINUS
public static final int KEYBOARD_KEYCODE_DOT
public static final int KEYBOARD_KEYCODE_SLASH
public static final int KEYBOARD_KEYCODE_GRAV
public static final int KEYBOARD_KEYCODE_LEFT_BRACKET
public static final int KEYBOARD_KEYCODE_BACKSLASH
public static final int KEYBOARD_KEYCODE_RIGHT_BRACKET
public static final int KEYBOARD_KEYCODE_APOSTROPHE
public static final int KEYBOARD_KEYCODE_F1
public static final int KEYBOARD_KEYCODE_F2
public static final int KEYBOARD_KEYCODE_F3
public static final int KEYBOARD_KEYCODE_F4
public static final int KEYBOARD_KEYCODE_F5
public static final int KEYBOARD_KEYCODE_F6
public static final int KEYBOARD_KEYCODE_F7
public static final int KEYBOARD_KEYCODE_F8
public static final int KEYBOARD_KEYCODE_F9
public static final int KEYBOARD_KEYCODE_F10
public static final int KEYBOARD_KEYCODE_F11
public static final int KEYBOARD_KEYCODE_F12
public static final int KEYBOARD_KEYCODE_NUM_PAD_0
public static final int KEYBOARD_KEYCODE_NUM_PAD_1
public static final int KEYBOARD_KEYCODE_NUM_PAD_2
public static final int KEYBOARD_KEYCODE_NUM_PAD_3
public static final int KEYBOARD_KEYCODE_NUM_PAD_4
public static final int KEYBOARD_KEYCODE_NUM_PAD_5
public static final int KEYBOARD_KEYCODE_NUM_PAD_6
public static final int KEYBOARD_KEYCODE_NUM_PAD_7
public static final int KEYBOARD_KEYCODE_NUM_PAD_8
public static final int KEYBOARD_KEYCODE_NUM_PAD_9
public static final int KEYBOARD_KEYCODE_NUM_PAD_DOT
public static final int KEYBOARD_KEYCODE_NUM_PAD_ADD
public static final int KEYBOARD_KEYCODE_NUM_PAD_DIVIDE
public static final int KEYBOARD_KEYCODE_NUM_PAD_MULTIPLY
public static final int KEYBOARD_KEYCODE_NUM_PAD_ENTER
public static final int KEYBOARD_KEYCODE_NUM_PAD_SUBTRACT
public static final int KEYBOARD_KEYCODE_NUM_LOCK
public static final int KEYBOARD_KEYCODE_DEL
public static final int KEYBOARD_KEYCODE_BACKSPACE
public static final int KEYBOARD_KEYCODE_TAB
public static final int KEYBOARD_KEYCODE_CAPS_LOCK
public static final int KEYBOARD_KEYCODE_SHIFT
Keyboard.onKeyboard(int, boolean)
to press/release keypublic static final int KEYBOARD_KEYCODE_CTRL
Keyboard.onKeyboard(int, boolean)
to press/release keypublic static final int KEYBOARD_KEYCODE_ALT
Keyboard.onKeyboard(int, boolean)
to press/release keypublic static final int KEYBOARD_KEYCODE_ENTER
public static final int KEYBOARD_KEYCODE_INSERT
public static final int KEYBOARD_KEYCODE_PAGE_DOWN
public static final int KEYBOARD_KEYCODE_PAGE_UP
public static final int KEYBOARD_KEYCODE_END
public static final int KEYBOARD_KEYCODE_HOME
public static final int KEYBOARD_KEYCODE_ESCAPE
public static final int KEYBOARD_KEYCODE_SPACE
public static final int KEYBOARD_KEYCODE_DPAD_LEFT
public static final int KEYBOARD_KEYCODE_DPAD_RIGHT
public static final int KEYBOARD_KEYCODE_DPAD_UP
public static final int KEYBOARD_KEYCODE_DPAD_DOWN