input-debounce-repeat-contract
CommunityDeterministic input handling
AuthorDubDev720
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses issues where input actions trigger too frequently, ensuring consistent hold and repeat behavior across different input devices.
Core Features & Use Cases
- Consistent Input: Guarantees that input actions behave predictably whether triggered by a mouse click, keyboard press, or controller button.
- Refactored Input Logic: Helps in organizing player and UI input handling by routing through shared InputMap actions.
- Use Case: When developing a game, you want the jump action to trigger only once per press, but a continuous fire action to repeat at a steady rate when held down, regardless of whether the player uses a keyboard or a gamepad.
Quick Start
Configure the input-debounce-repeat-contract skill to manage the 'fire' action with a repeat cadence of 0.1 seconds.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: input-debounce-repeat-contract Download link: https://github.com/DubDev720/gdref/archive/main.zip#input-debounce-repeat-contract 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.