About
@nanoforge-dev/input is NanoForge’s built-in keyboard/mouse input library. It listens to browser keyboard and mouse events and exposes a per-frame snapshot of the current input state on Context.input. Client-only.
Installation
Node.js 26 or newer is required.Example usage
RegisterInputLibrary on your client app:
__run:
Context.input also exposes getPressedKeys(), getMouseState(), and getWheelState() for scroll input.
Links
Contributing
Before creating an issue, please ensure that it hasn’t already been reported/suggested, and double-check the documentation.See the contribution guide if you’d like to submit a PR.
