uloop-simulate-keyboard

Simulate keyboard input in Unity PlayMode using the Input System.

500|44|Updated Jun 15, 2025
One-click install
npx skills add https://github.com/hatayama/unity-cli-loop --skill uloop-simulate-keyboard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uloop-simulate-keyboard
Source: https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-simulate-keyboard
Command: npx skills add https://github.com/hatayama/unity-cli-loop --skill uloop-simulate-keyboard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simulate keyboard input in Unity PlayMode using the Input System to drive gameplay actions and test input handling without manual interaction.

Core Features & Use Cases

  • Simulate single key presses and hold keys for continuous movement or actions within PlayMode.
  • Combine multiple keys (e.g., W + Space) to test complex input scenarios.
  • Automate PlayMode input-driven QA and AI-assisted experimentation.

Quick Start

Run the uloop simulate-keyboard command with the desired action and key while PlayMode is active to simulate input.

Frequently Asked Questions about uloop-simulate-keyboard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate keyboard input in Unity PlayMode for automated testing?

Simulate keyboard input in Unity PlayMode by running the simulate-keyboard command to drive movement and actions, enabling automated QA without manual interaction. This requires the Input System package and active PlayMode.

Can I combine multiple key presses to test complex input scenarios in Unity?

Yes, you can combine multiple key presses like W + Space to test complex input scenarios in Unity PlayMode. The simulation supports combining keys to drive gameplay actions and validate input handling.

Does simulating PlayMode keyboard input require the Unity Input System package?

Yes, simulating PlayMode keyboard input requires the Unity Input System package to be installed. The scripted key events rely on the Input System to drive gameplay actions during automated testing.

What is the best way to automate gameplay QA and input-driven experimentation in Unity?

Automate gameplay QA and input-driven experimentation by simulating keyboard input in Unity PlayMode using scripted key events. This approach removes manual interaction and supports AI-assisted testing across scenarios.

How does simulating single and hold key presses work for continuous movement in PlayMode?

Simulating single and hold key presses in PlayMode works by triggering scripted key events through the Input System. Holding keys drives continuous movement or actions, while single presses test discrete inputs.

Why do I need PlayMode active to perform scripted keyboard events in Unity?

PlayMode must be active to perform scripted keyboard events because the simulation drives gameplay actions within the running Unity environment. The Input System processes these scripted key events during active PlayMode sessions.