p5js-input
OfficialUnified P5.js input: keyboard, touch, mouse.
Authorneighbor-game-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and simplifies input handling for P5.js sketches by supporting keyboard, mouse, touch, and mobile-friendly on-screen controls, reducing cross-device development effort.
Core Features & Use Cases
- Keyboard and pointer input: Move with arrow keys or WASD and perform actions via space or enter.
- Mobile and on-screen controls: Virtual buttons and pointer events provide reliable input on touch devices.
- Drag-based touch handling: Relative touch input to keep the player visible and responsive.
Quick Start
Use the provided input patterns in your P5.js sketch to enable keyboard, mouse, and touch controls with mobile-friendly on-screen buttons.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: p5js-input Download link: https://github.com/neighbor-game-ai/DreamCore-V2-sandbox/archive/main.zip#p5js-input Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.