Difference between revisions of "Legacy:Functions/Map/Input"

From Spherical
Jump to: navigation, search
(created, needs reformatting)
(No difference)

Revision as of 23:48, 1 June 2013

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