Drag[en]gine Script Module DragonScript
1.23
|
InputEvent key codes. More...
Static Public Attributes | |
static final int | a = 1 |
static final int | advanced1 = 49 |
static final int | advanced2 = 50 |
static final int | alt = 47 |
static final int | arrowDown = 54 |
static final int | arrowLeft = 51 |
static final int | arrowRight = 53 |
static final int | arrowUp = 52 |
static final int | b = 2 |
static final int | backspace = 38 |
static final int | c = 3 |
static final int | control = 46 |
static final int | d = 4 |
static final int | delete = 44 |
static final int | digit0 = 27 |
static final int | digit1 = 28 |
static final int | digit2 = 29 |
static final int | digit3 = 30 |
static final int | digit4 = 31 |
static final int | digit5 = 32 |
static final int | digit6 = 33 |
static final int | digit7 = 34 |
static final int | digit8 = 35 |
static final int | digit9 = 36 |
static final int | e = 5 |
static final int | enter = 40 |
static final int | escape = 42 |
static final int | f = 6 |
static final int | f1 = 59 |
static final int | f10 = 68 |
static final int | f11 = 69 |
static final int | f12 = 70 |
static final int | f2 = 60 |
static final int | f3 = 61 |
static final int | f4 = 62 |
static final int | f5 = 63 |
static final int | f6 = 64 |
static final int | f7 = 65 |
static final int | f8 = 66 |
static final int | f9 = 67 |
static final int | g = 7 |
static final int | h = 8 |
static final int | home = 57 |
static final int | i = 9 |
static final int | insert = 43 |
static final int | j = 10 |
static final int | k = 11 |
static final int | l = 12 |
static final int | last = 58 |
static final int | m = 13 |
static final int | meta = 48 |
static final int | n = 14 |
static final int | o = 15 |
static final int | p = 16 |
static final int | pageDown = 56 |
static final int | pageUp = 55 |
static final int | pause = 41 |
static final int | q = 17 |
static final int | r = 18 |
static final int | s = 19 |
static final int | shift = 45 |
static final int | space = 37 |
static final int | t = 20 |
static final int | tab = 39 |
static final int | u = 21 |
static final int | undefined = 0 |
static final int | v = 22 |
static final int | w = 23 |
static final int | x = 24 |
static final int | y = 25 |
static final int | z = 26 |
InputEvent key codes.
Identify keyboard keys without matching particular OS or hardware. This is used in situations like UI where keyboard input has to be used without the user assinging first a binding to input device buttons. Multiple keys can return the same key code. For example keypad number or arrow keys return the same code as regular number and arrow keys. Game scripts should use key character or button ID using bindings to listen to specific keys on a keyboard if possible.
Key codes are provided for InputEventType.keyPress and InputEventType.keyRelease only.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |