Familiar territory. Input keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Checks (True / False) 1
| isPhysicalPressed() | Whether it is physical pressed. |
Actions 1
| clear() | Clear. |
Events, Commands & Input 2
| _onKeyDown() | Called when key down happens. |
| _onKeyUp() | Called when key up happens. |
Checks (True / False)
isPhysicalPressed
static sourceInput.isPhysicalPressed(keyCode)
Whether it is physical pressed. (Same as the RPG Maker MZ method of this name.)
Actions
clear
static sourceInput.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
_onKeyDown
static internal sourceInput._onKeyDown(event)
Called when key down happens. (Same as the RPG Maker MZ method of this name.)
_onKeyUp
static internal sourceInput._onKeyUp(event)
Called when key up happens. (Same as the RPG Maker MZ method of this name.)