ControllerConnectionState

Internal per-connection controller state (buttons/sticks/held-timers/custom payload) plus the remote's own d-pad fallback state. Not part of the public API - a game uses BGE.Controller.ControlMap (game.controls) instead.

Properties

  • buttons (dynamic) — name -> boolean
  • heldTimers (dynamic) — name -> boolean
  • sticks (dynamic) — name -> roTimespan, present only while held
  • custom (dynamic) — name -> BGE.Math.Vector

Constructor

new ControllerConnectionState(): ControllerConnectionState