# Melonjs Input (agent skill)

> Melonjs Input is an agent skill (a SKILL.md file) from melonjs/melonJS. It is used for keyboard, pointer, mouse, touch and gamepad input in melonJS. It works with Claude Code and has 6,419 GitHub stars across a repository of 4 listed skills.

Use this skill for keyboard, pointer, mouse, touch and gamepad input in melonJS. Covers the bindKey action indirection, registerPointerEvent on regions, the isKinematic requirement that silently blocks pointer events, which of several overlapping objects receives an event and how to consume it, world vs screen pointer coordinates, and gamepad mapping onto the same actions.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/melonjs/melonJS |
| Skill path | packages/melonjs/skills/melonjs-input/SKILL.md |
| Skill name | melonjs-input |
| GitHub stars | 6,419 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 4 |
| Plugin marketplace | melonjs |
| Official | yes |
| Works with | Claude Code |
| Category | Testing & QA |
| Last commit | Oct 26, 2026 |

## When it triggers

- Use this skill for keyboard, pointer, mouse, touch and gamepad input in melonJS.
- Triggers on: input, bindKey, isKeyPressed, KEY, registerPointerEvent, releasePointerEvent, pointerdown, pointerup, pointermove, POINTERMOVE, gamepad, bindGamepad, triggerKeyEvent, KEYDOWN, KEYUP, press any key, splash screen, click, touch,

## Add this skill

### Claude Code

```sh
/plugin marketplace add melonjs/melonJS
/plugin install melonjs@melonjs
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/melonjs/melonJS.git
cp -r melonJS/packages/melonjs/skills/melonjs-input .agents/skills/melonjs-input   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/melonjs/melonJS.git
cp -r melonJS/packages/melonjs/skills/melonjs-input .cursor/skills/melonjs-input   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/melonjs-input
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
