Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getLastEndedTouchId(): number
  • deprecated

    Returns number

  • getLastTouchId(): number
  • deprecated

    Returns number

  • deprecated

    Use getCursorX instead.

    Parameters

    Returns number

  • deprecated

    Use getCursorY instead.

    Parameters

    Returns number

  • Return true if the specified key is pressed

    Parameters

    Returns boolean

  • Return true if the specified key was just released

    Parameters

    Returns boolean

Variables

keysNameToCode: { Add: number; Back: number; BackSlash: number; Comma: number; Dash: number; Delete: number; Divide: number; Down: number; End: number; Equal: number; Escape: number; F1: number; F10: number; F11: number; F12: number; F2: number; F3: number; F4: number; F5: number; F6: number; F7: number; F8: number; F9: number; Home: number; Insert: number; LAlt: number; LBracket: number; LControl: number; LShift: number; LSystem: number; Left: number; Menu: number; Multiply: number; Num0: number; Num1: number; Num2: number; Num3: number; Num4: number; Num5: number; Num6: number; Num7: number; Num8: number; Num9: number; Numpad0: number; Numpad1: number; Numpad2: number; Numpad3: number; Numpad4: number; Numpad5: number; Numpad6: number; Numpad7: number; Numpad8: number; Numpad9: number; NumpadAdd: number; NumpadDivide: number; NumpadDown: number; NumpadEnd: number; NumpadHome: number; NumpadLeft: number; NumpadMultiply: number; NumpadPageDown: number; NumpadPageUp: number; NumpadReturn: number; NumpadRight: number; NumpadSubtract: number; NumpadUp: number; PageDown: number; PageUp: number; Pause: number; Period: number; Quote: number; RAlt: number; RBracket: number; RControl: number; RShift: number; RSystem: number; Return: number; Right: number; SemiColon: number; Slash: number; Space: number; Subtract: number; Tab: number; Tilde: number; Up: number; a: number; b: number; c: number; d: number; e: number; f: number; g: number; h: number; i: number; j: number; k: number; l: number; m: number; n: number; o: number; p: number; q: number; r: number; s: number; t: number; u: number; v: number; w: number; x: number; y: number; z: number } = ...

Hashmap associated each name of a key to its location-aware keyCode.

memberof

gdjs.evtTools

Type declaration

  • Add: number
  • Back: number
  • BackSlash: number
  • Comma: number
  • Dash: number
  • Delete: number
  • Divide: number
  • Down: number
  • End: number
  • Equal: number
  • Escape: number
  • F1: number
  • F10: number
  • F11: number
  • F12: number
  • F2: number
  • F3: number
  • F4: number
  • F5: number
  • F6: number
  • F7: number
  • F8: number
  • F9: number
  • Home: number
  • Insert: number
  • LAlt: number
  • LBracket: number
  • LControl: number
  • LShift: number
  • LSystem: number
  • Left: number
  • Menu: number
  • Multiply: number
  • Num0: number
  • Num1: number
  • Num2: number
  • Num3: number
  • Num4: number
  • Num5: number
  • Num6: number
  • Num7: number
  • Num8: number
  • Num9: number
  • Numpad0: number
  • Numpad1: number
  • Numpad2: number
  • Numpad3: number
  • Numpad4: number
  • Numpad5: number
  • Numpad6: number
  • Numpad7: number
  • Numpad8: number
  • Numpad9: number
  • NumpadAdd: number
  • NumpadDivide: number
  • NumpadDown: number
  • NumpadEnd: number
  • NumpadHome: number
  • NumpadLeft: number
  • NumpadMultiply: number
  • NumpadPageDown: number
  • NumpadPageUp: number
  • NumpadReturn: number
  • NumpadRight: number
  • NumpadSubtract: number
  • NumpadUp: number
  • PageDown: number
  • PageUp: number
  • Pause: number
  • Period: number
  • Quote: number
  • RAlt: number
  • RBracket: number
  • RControl: number
  • RShift: number
  • RSystem: number
  • Return: number
  • Right: number
  • SemiColon: number
  • Slash: number
  • Space: number
  • Subtract: number
  • Tab: number
  • Tilde: number
  • Up: number
  • a: number
  • b: number
  • c: number
  • d: number
  • e: number
  • f: number
  • g: number
  • h: number
  • i: number
  • j: number
  • k: number
  • l: number
  • m: number
  • n: number
  • o: number
  • p: number
  • q: number
  • r: number
  • s: number
  • t: number
  • u: number
  • v: number
  • w: number
  • x: number
  • y: number
  • z: number
lastEndedTouchId: number = 0
deprecated
lastTouchId: number = 0
deprecated
mouseButtonsNameToCode: { Back: number; Forward: number; Left: number; Middle: number; Right: number } = ...

A hashmap associates each name of a mouse button with its respective code.

memberof

gdjs.evtTools

Type declaration

  • Back: number
  • Forward: number
  • Left: number
  • Middle: number
  • Right: number

Generated using TypeDoc