tippinggame/f8framework/f8-features-input-workflow
Claude Code and agent skill by tippinggame/f8framework
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when implementing or troubleshooting Input feature workflows — multi-platform input, virtual buttons, device switching, and key/axis listening in F8Framework.
Install
npx vskill@latest install tippinggame/f8framework/f8-features-input-workflowSKILL.md
The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-input-workflow.
Input Feature Workflow
⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. EnsureModuleCenter.Initialize(this);has run first, then create the required module, for exampleFF8.Input = ModuleCenter.CreateModule<InputManager>(new DefaultInputHelper());.
Use this skill when
- The task is about input management, virtual buttons, or device switching.
- The user asks about multi-platform input handling or key mapping.
- Troubleshooting input not responding or device switch issues.
Path resolution
- Prefer project source at Assets/F8Framework.
- For usage docs, read: Assets/F8Framework/Tests/Input/README.md and Assets/F8Framework/Tests/Input/README_EN.md
- For the latest usage sample, read: Assets/F8Framework/Tests/Input/DemoInput.cs
Sources of truth
- Runtime module: Assets/F8Framework/Runtime/Input
- Test docs: Assets/F8Framework/Tests/Input
- Runtime usage sample: Assets/F8Framework/Tests/Input/DemoInput.cs
Key classes and interfaces
| Class | Role | |
|---|---|---|
InputManager | Core module. Access via FF8.Input. | |
InputDeviceBase | Abstract base for input devices. Defines InputButtonType and InputAxisType. | |
StandardInputDevice | Default PC keyboard/mouse device. | |
MobileInputDevice | Mobile touch/virtual button device. |
API quick reference
Device management
Button callbacks
Key polling (Update)
Virtual buttons vs Input Actions
- Use custom virtual button strings when implementing a custom
InputDeviceBase. - Register them with
RegisterVirtualButton, drive them withSetButtonStart,SetButtonDown,SetButtonUp, and unregister withUnRegisterVirtualButton. - If the task uses the advanced Unity Input System API, do not add custom virtual button strings by default.
- Instead, create an
Input Actionsasset from the Project window, then edit ActionMaps, Actions, and Bindings there.
Advanced Input System API
Local multiplayer with Input System
Custom input device
Workflow
- Choose or create an input device (Standard, Mobile, or custom).
- If using a custom device, define and drive virtual buttons on
InputDeviceBase. - If using Unity Input System advanced APIs, create an
Input Actionsasset instead of inventing virtual button strings. - Register button or action callbacks in
StartorOnEnable. - Use polling in
Updatefor frame-by-frame input queries. - Switch devices at runtime without losing callback registrations.
- For mobile, implement a custom
MobileInputDevicewith virtual joystick logic. - Disable input during UI menus with
IsEnableInputDevice = false. - Remove callbacks and player-input hooks in
OnDestroy.
Common error handling
| Error | Cause | Solution | |
|---|---|---|---|
| Input not responding | IsEnableInputDevice is false | Set to true | |
| Callback fires twice | Registered both callback and polling | Choose one pattern | |
| Custom device not working | Missing RegisterVirtualButton | Register all virtual buttons in OnInit |
Cross-module dependencies
- None — Input is self-contained.
Output checklist
- Input device selected and configured.
- Callbacks or polling pattern implemented.
- Files changed and why.
- Validation status and remaining risks.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingTests/AISkills/f8framework-skills/features/f8-features-input-workflow/SKILL.md
Popularity
- Repository stars
- 870
- Repository forks
- 139
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tippinggame/f8framework/f8-features-input-workflow)