Input constants
Key, GamepadButton, GamepadAxis and MouseCursor.
Always available
No import needed. These names are in scope in every file.
MouseCursor static class
ts
static class MouseCursorFinal: it cannot be subclassed.
Named cursor shapes accepted by Mouse.cursor and engine.cursor.set.
MouseCursor.DEFAULT
ts
static readonly DEFAULT: stringThe default pointer.
MouseCursor.ARROW
ts
static readonly ARROW: stringThe arrow pointer.
MouseCursor.IBEAM
ts
static readonly IBEAM: stringThe text-insertion I-beam.
MouseCursor.CROSSHAIR
ts
static readonly CROSSHAIR: stringA crosshair.
MouseCursor.POINTING_HAND
ts
static readonly POINTING_HAND: stringThe pointing hand used over links.
MouseCursor.RESIZE_EW
ts
static readonly RESIZE_EW: stringHorizontal resize (left-right).
MouseCursor.RESIZE_NS
ts
static readonly RESIZE_NS: stringVertical resize (up-down).
MouseCursor.RESIZE_NWSE
ts
static readonly RESIZE_NWSE: stringDiagonal resize (top-left to bottom-right).
MouseCursor.RESIZE_NESW
ts
static readonly RESIZE_NESW: stringDiagonal resize (top-right to bottom-left).
MouseCursor.RESIZE_ALL
ts
static readonly RESIZE_ALL: stringResize or move in every direction.
MouseCursor.NOT_ALLOWED
ts
static readonly NOT_ALLOWED: stringThe not-allowed pointer.
Key static class
ts
static class KeyFinal: it cannot be subclassed.
Keyboard constants named as in Heaps hxd.Key. Each is the physical key (scancode), so Key.W is the key in the W position of a QWERTY board on any layout.
Key.BACKSPACE
ts
static readonly BACKSPACE: intBackspace.
Key.TAB
ts
static readonly TAB: intTab.
Key.ENTER
ts
static readonly ENTER: intEnter / Return.
Key.ESCAPE
ts
static readonly ESCAPE: intEscape.
Key.SPACE
ts
static readonly SPACE: intThe space bar.
Key.PGUP
ts
static readonly PGUP: intPage Up.
Key.PGDOWN
ts
static readonly PGDOWN: intPage Down.
Key.END
ts
static readonly END: intEnd.
Key.HOME
ts
static readonly HOME: intHome.
Key.LEFT
ts
static readonly LEFT: intLeft arrow.
Key.UP
ts
static readonly UP: intUp arrow.
Key.RIGHT
ts
static readonly RIGHT: intRight arrow.
Key.DOWN
ts
static readonly DOWN: intDown arrow.
Key.INSERT
ts
static readonly INSERT: intInsert.
Key.DELETE
ts
static readonly DELETE: intDelete.
Key.PRINT_SCREEN
ts
static readonly PRINT_SCREEN: intPrint Screen.
Key.QWERTY_EQUALS
ts
static readonly QWERTY_EQUALS: intThe equals key (QWERTY layout position).
Key.QWERTY_MINUS
ts
static readonly QWERTY_MINUS: intThe minus key (QWERTY layout position).
Key.QWERTY_TILDE
ts
static readonly QWERTY_TILDE: intThe tilde key (QWERTY layout position).
Key.QWERTY_BRACKET_LEFT
ts
static readonly QWERTY_BRACKET_LEFT: intThe bracket left key (QWERTY layout position).
Key.QWERTY_BRACKET_RIGHT
ts
static readonly QWERTY_BRACKET_RIGHT: intThe bracket right key (QWERTY layout position).
Key.QWERTY_SEMICOLON
ts
static readonly QWERTY_SEMICOLON: intThe semicolon key (QWERTY layout position).
Key.QWERTY_QUOTE
ts
static readonly QWERTY_QUOTE: intThe quote key (QWERTY layout position).
Key.QWERTY_BACKSLASH
ts
static readonly QWERTY_BACKSLASH: intThe backslash key (QWERTY layout position).
Key.QWERTY_COMMA
ts
static readonly QWERTY_COMMA: intThe comma key (QWERTY layout position).
Key.QWERTY_PERIOD
ts
static readonly QWERTY_PERIOD: intThe period key (QWERTY layout position).
Key.QWERTY_SLASH
ts
static readonly QWERTY_SLASH: intThe slash key (QWERTY layout position).
Key.INTL_BACKSLASH
ts
static readonly INTL_BACKSLASH: intThe extra key next to left Shift on ISO keyboards.
Key.LEFT_WINDOW_KEY
ts
static readonly LEFT_WINDOW_KEY: intLeft Windows / Command key.
Key.RIGHT_WINDOW_KEY
ts
static readonly RIGHT_WINDOW_KEY: intRight Windows / Command key.
Key.CONTEXT_MENU
ts
static readonly CONTEXT_MENU: intThe context-menu key.
Key.AZERTY_DOLLAR
ts
static readonly AZERTY_DOLLAR: intThe dollar key (AZERTY layout position).
Key.AZERTY_EQUALS
ts
static readonly AZERTY_EQUALS: intThe equals key (AZERTY layout position).
Key.AZERTY_COMMA
ts
static readonly AZERTY_COMMA: intThe comma key (AZERTY layout position).
Key.AZERTY_SEMICOLON
ts
static readonly AZERTY_SEMICOLON: intThe semicolon key (AZERTY layout position).
Key.AZERTY_COLON
ts
static readonly AZERTY_COLON: intThe colon key (AZERTY layout position).
Key.AZERTY_MODULO
ts
static readonly AZERTY_MODULO: intThe modulo key (AZERTY layout position).
Key.AZERTY_PARENT_CLOSE
ts
static readonly AZERTY_PARENT_CLOSE: intThe parent close key (AZERTY layout position).
Key.AZERTY_MULTIPLY
ts
static readonly AZERTY_MULTIPLY: intThe multiply key (AZERTY layout position).
Key.AZERTY_POWER
ts
static readonly AZERTY_POWER: intThe power key (AZERTY layout position).
Key.AZERTY_SQUARED
ts
static readonly AZERTY_SQUARED: intThe squared key (AZERTY layout position).
Key.AZERTY_EXCLAM
ts
static readonly AZERTY_EXCLAM: intThe exclam key (AZERTY layout position).
Key.PAUSE_BREAK
ts
static readonly PAUSE_BREAK: intPause / Break.
Key.CAPS_LOCK
ts
static readonly CAPS_LOCK: intCaps Lock.
Key.NUM_LOCK
ts
static readonly NUM_LOCK: intNum Lock.
Key.SCROLL_LOCK
ts
static readonly SCROLL_LOCK: intScroll Lock.
Key.NUMBER_0
ts
static readonly NUMBER_0: intThe 0 key on the main number row.
Key.NUMBER_1
ts
static readonly NUMBER_1: intThe 1 key on the main number row.
Key.NUMBER_2
ts
static readonly NUMBER_2: intThe 2 key on the main number row.
Key.NUMBER_3
ts
static readonly NUMBER_3: intThe 3 key on the main number row.
Key.NUMBER_4
ts
static readonly NUMBER_4: intThe 4 key on the main number row.
Key.NUMBER_5
ts
static readonly NUMBER_5: intThe 5 key on the main number row.
Key.NUMBER_6
ts
static readonly NUMBER_6: intThe 6 key on the main number row.
Key.NUMBER_7
ts
static readonly NUMBER_7: intThe 7 key on the main number row.
Key.NUMBER_8
ts
static readonly NUMBER_8: intThe 8 key on the main number row.
Key.NUMBER_9
ts
static readonly NUMBER_9: intThe 9 key on the main number row.
Key.NUMPAD_0
ts
static readonly NUMPAD_0: intThe 0 key on the numeric keypad.
Key.NUMPAD_1
ts
static readonly NUMPAD_1: intThe 1 key on the numeric keypad.
Key.NUMPAD_2
ts
static readonly NUMPAD_2: intThe 2 key on the numeric keypad.
Key.NUMPAD_3
ts
static readonly NUMPAD_3: intThe 3 key on the numeric keypad.
Key.NUMPAD_4
ts
static readonly NUMPAD_4: intThe 4 key on the numeric keypad.
Key.NUMPAD_5
ts
static readonly NUMPAD_5: intThe 5 key on the numeric keypad.
Key.NUMPAD_6
ts
static readonly NUMPAD_6: intThe 6 key on the numeric keypad.
Key.NUMPAD_7
ts
static readonly NUMPAD_7: intThe 7 key on the numeric keypad.
Key.NUMPAD_8
ts
static readonly NUMPAD_8: intThe 8 key on the numeric keypad.
Key.NUMPAD_9
ts
static readonly NUMPAD_9: intThe 9 key on the numeric keypad.
Key.NUMPAD_MULT
ts
static readonly NUMPAD_MULT: intNumeric keypad multiply.
Key.NUMPAD_ADD
ts
static readonly NUMPAD_ADD: intNumeric keypad add.
Key.NUMPAD_ENTER
ts
static readonly NUMPAD_ENTER: intNumeric keypad Enter.
Key.NUMPAD_SUB
ts
static readonly NUMPAD_SUB: intNumeric keypad subtract.
Key.NUMPAD_DOT
ts
static readonly NUMPAD_DOT: intNumeric keypad decimal point.
Key.NUMPAD_DIV
ts
static readonly NUMPAD_DIV: intNumeric keypad divide.
Key.A
ts
static readonly A: intThe A key (physical position).
Key.B
ts
static readonly B: intThe B key (physical position).
Key.C
ts
static readonly C: intThe C key (physical position).
Key.D
ts
static readonly D: intThe D key (physical position).
Key.E
ts
static readonly E: intThe E key (physical position).
Key.F
ts
static readonly F: intThe F key (physical position).
Key.G
ts
static readonly G: intThe G key (physical position).
Key.H
ts
static readonly H: intThe H key (physical position).
Key.I
ts
static readonly I: intThe I key (physical position).
Key.J
ts
static readonly J: intThe J key (physical position).
Key.K
ts
static readonly K: intThe K key (physical position).
Key.L
ts
static readonly L: intThe L key (physical position).
Key.M
ts
static readonly M: intThe M key (physical position).
Key.N
ts
static readonly N: intThe N key (physical position).
Key.O
ts
static readonly O: intThe O key (physical position).
Key.P
ts
static readonly P: intThe P key (physical position).
Key.Q
ts
static readonly Q: intThe Q key (physical position).
Key.R
ts
static readonly R: intThe R key (physical position).
Key.S
ts
static readonly S: intThe S key (physical position).
Key.T
ts
static readonly T: intThe T key (physical position).
Key.U
ts
static readonly U: intThe U key (physical position).
Key.V
ts
static readonly V: intThe V key (physical position).
Key.W
ts
static readonly W: intThe W key (physical position).
Key.X
ts
static readonly X: intThe X key (physical position).
Key.Y
ts
static readonly Y: intThe Y key (physical position).
Key.Z
ts
static readonly Z: intThe Z key (physical position).
Key.F1
ts
static readonly F1: intThe F1 function key.
Key.F2
ts
static readonly F2: intThe F2 function key.
Key.F3
ts
static readonly F3: intThe F3 function key.
Key.F4
ts
static readonly F4: intThe F4 function key.
Key.F5
ts
static readonly F5: intThe F5 function key.
Key.F6
ts
static readonly F6: intThe F6 function key.
Key.F7
ts
static readonly F7: intThe F7 function key.
Key.F8
ts
static readonly F8: intThe F8 function key.
Key.F9
ts
static readonly F9: intThe F9 function key.
Key.F10
ts
static readonly F10: intThe F10 function key.
Key.F11
ts
static readonly F11: intThe F11 function key.
Key.F12
ts
static readonly F12: intThe F12 function key.
Key.F13
ts
static readonly F13: intThe F13 function key.
Key.F14
ts
static readonly F14: intThe F14 function key.
Key.F15
ts
static readonly F15: intThe F15 function key.
Key.F16
ts
static readonly F16: intThe F16 function key.
Key.F17
ts
static readonly F17: intThe F17 function key.
Key.F18
ts
static readonly F18: intThe F18 function key.
Key.F19
ts
static readonly F19: intThe F19 function key.
Key.F20
ts
static readonly F20: intThe F20 function key.
Key.F21
ts
static readonly F21: intThe F21 function key.
Key.F22
ts
static readonly F22: intThe F22 function key.
Key.F23
ts
static readonly F23: intThe F23 function key.
Key.F24
ts
static readonly F24: intThe F24 function key.
Key.SHIFT
ts
static readonly SHIFT: intAlias of LSHIFT.
Key.CTRL
ts
static readonly CTRL: intAlias of LCTRL.
Key.ALT
ts
static readonly ALT: intAlias of LALT.
Key.LSHIFT
ts
static readonly LSHIFT: intLeft Shift.
Key.RSHIFT
ts
static readonly RSHIFT: intRight Shift.
Key.LCTRL
ts
static readonly LCTRL: intLeft Ctrl.
Key.RCTRL
ts
static readonly RCTRL: intRight Ctrl.
Key.LALT
ts
static readonly LALT: intLeft Alt.
Key.RALT
ts
static readonly RALT: intRight Alt.
Key.name
ts
static name(code: int): stringThe Go-style name of a key ("LeftControl", "PageUp", "Space"), "" for anything that is not a Key constant. Saved bindings store this spelling.
Key.fromName
ts
static fromName(name: string): intThe Key constant for a Go-style ("LeftControl") or constant-style ("LCTRL") name; -1 when unknown.
GamepadButton static class
ts
static class GamepadButtonFinal: it cannot be subclassed.
Gamepad button constants for Gamepad.isDown, isPressed and isReleased.
GamepadButton.A
ts
static readonly A: intThe A (bottom) face button.
GamepadButton.B
ts
static readonly B: intThe B (right) face button.
GamepadButton.X
ts
static readonly X: intThe X (left) face button.
GamepadButton.Y
ts
static readonly Y: intThe Y (top) face button.
GamepadButton.LB
ts
static readonly LB: intLeft shoulder button.
GamepadButton.RB
ts
static readonly RB: intRight shoulder button.
GamepadButton.LT
ts
static readonly LT: intLeft trigger as a button.
GamepadButton.RT
ts
static readonly RT: intRight trigger as a button.
GamepadButton.LEFT_STICK
ts
static readonly LEFT_STICK: intLeft stick click.
GamepadButton.RIGHT_STICK
ts
static readonly RIGHT_STICK: intRight stick click.
GamepadButton.DPAD_UP
ts
static readonly DPAD_UP: intD-pad up.
GamepadButton.DPAD_DOWN
ts
static readonly DPAD_DOWN: intD-pad down.
GamepadButton.DPAD_LEFT
ts
static readonly DPAD_LEFT: intD-pad left.
GamepadButton.DPAD_RIGHT
ts
static readonly DPAD_RIGHT: intD-pad right.
GamepadButton.START
ts
static readonly START: intStart button.
GamepadButton.BACK
ts
static readonly BACK: intBack (select) button.
GamepadButton.HOME
ts
static readonly HOME: intHome (guide) button.
GamepadAxis static class
ts
static class GamepadAxisFinal: it cannot be subclassed.
Gamepad axis constants for Gamepad.axis and axisRaw.
GamepadAxis.LEFT_X
ts
static readonly LEFT_X: intLeft stick horizontal axis.
GamepadAxis.LEFT_Y
ts
static readonly LEFT_Y: intLeft stick vertical axis.
GamepadAxis.RIGHT_X
ts
static readonly RIGHT_X: intRight stick horizontal axis.
GamepadAxis.RIGHT_Y
ts
static readonly RIGHT_Y: intRight stick vertical axis.
GamepadAxis.LT
ts
static readonly LT: intLeft trigger axis.
GamepadAxis.RT
ts
static readonly RT: intRight trigger axis.
Generated from lang/types/builtin_input_constants.d.tks in the ThicketScript repository.