the input object of RPG maker, note: only the added methods and functions will display in this documentation
Methods
-
static addKeyBind(key, cb, name, scope, wasdDefualt, defaultKey)
-
Parameters:
Name Type Description keystring (optional) always bind to this key on boot
cbfunction the call back to run
namestring the name of this command
scopeint the scope of this command
wasdDefualtstring the default key in wasd layout
defaultKeystring the default key in defualt layout
-
static checkScope(scope)
-
Parameters:
Name Type Description scopeint -2 = in dev mode
-1 = never
0 = global
1 = on scene_map
2 = on scene_battle
3 = on scene_menu
4 = not on scene_map -
static onLongNoInput()
-
meant to be overridden by other mods. called when no input is held for half a second