imgui_press_key
Simulate single key presses or modifier key combos like Ctrl+S and Shift+A. Use it to trigger keyboard input for testing and interacting with Dear ImGui game UIs in real time.
Instructions
Simulate a key press and release. Supports single keys and modifier combos. Examples: 'Enter', 'Tab', 'Escape', 'Ctrl+S', 'Shift+A', 'Ctrl+Shift+Z'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name or combo (e.g. 'Enter', 'Tab', 'Ctrl+S') |