Namespace in reactor_controls.js

Input

2 functions in 2 groups · hide internal

The Database: everything Core loads at boot.

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

Events, Commands & Input 1

_onKeyDown() Called when key down happens.

Updating & Drawing 1

_updateGamepadState() Updates the gamepad state each frame.

Events, Commands & Input

_onKeyDown

static internal source
Input._onKeyDown(event)

Called when key down happens. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

_updateGamepadState

static internal source
Input._updateGamepadState(gamepad)

Updates the gamepad state each frame. (Same as the RPG Maker MZ method of this name.)