mengzhishanghun - SimpleInputSimulator

# 🎮 Simple Input Simulator Plugin for Unreal Engine


A lightweight and efficient Unreal Engine plugin for simulating input events programmatically. This plugin provides Blueprint-callable functions to simulate keyboard, mouse, and gamepad inputs, making it ideal for automated testing, AI behavior simulation, and debugging scenarios.


---


## 📦 Overview


Simple Input Simulator enables you to:


- Simulate press and release events for any input key (keyboard, mouse, gamepad)

- Generate analog input values for movement, rotation, and other axis-based controls

- Clear all pressed keys to reset input state

- Target specific player controllers in local multiplayer scenarios

- Use all features via Blueprints — no C++ required

- Work seamlessly with both Legacy Input and Enhanced Input systems


---


## 🔧 Features


Key Input Simulation

- Supports any input key: keyboard keys, mouse buttons, gamepad buttons

- Configurable press/release states

- Multi-player controller targeting


Axis Input Simulation

- Analog input simulation for movement, mouse delta, gamepad sticks

- 3D vector support for complex input scenarios

- Automatic frame rate adaptation for consistent behavior


Input State Management

- Reset all pressed keys with a single function call

- Prevent "stuck" key states during game state transitions

- Clean input state management for testing scenarios


Enhanced Input Compatibility

- Works with both Legacy Input and Enhanced Input systems

- Respects Input Mapping Context settings

- Triggers Enhanced Input Actions automatically


Fully Blueprint-Compatible

- All functions are exposed as Blueprint nodes

- Editor support for testing during development

- Clean category organization: "Simple Input Simulator"


Runtime Optimized

- Minimal performance overhead

- Real-time execution suitable for gameplay

- Detailed logging for debugging (LogSimpleInputSimulator)


---


## 📘 Documentation


Complete usage guide and API reference are included with the plugin:

`SimpleInputSimulator/Docs/README.md`


> Includes: Function parameters, Blueprint examples, Enhanced Input integration, troubleshooting tips.


---


## 📂 Dependencies


- No third-party dependencies


---


## 👨‍💻 Author


Author: mengzhishanghun

Email: mengzhishanghun@outlook.com