Legacy:Functions/Map/Input

From Spherical
< Legacy:Functions‎ | Map
Revision as of 23:48, 1 June 2013 by Apollolux (talk | contribs) (created, needs reformatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Player input

Binding scripts to keys

  • API:BindKey(key, on_key_down, on_key_up): Bind scripts to key events.
  • API:UnbindKey(key): Remove script binding from the given key.

Binding scripts to joystick buttons