UnbindKey
From Spheriki
Unbinds a bound key. Used alongside BindKey().
Contents |
Usage
- key The key to remove binding from. See the list of keycode constants or
docs/keys.txtin your Sphere installation for possible values.
Example
If KEY_SPACE was previously bound, we can undo that by using this function:
UnbindKey(KEY_SPACE);
Notes
- By reducing the number of bound keys, the Sphere engine will run slightly faster.