name: key-simulation description: Instructions for simulating keyboard input using the AutomateLinux daemon.
Key Simulation
The AutomateLinux daemon provides powerful capabilities to simulate keyboard input events and type strings directly.
Type a String
To type a text string as if it were entered on the keyboard:
d simulateInput --string "Hello World"
Simulate Raw Input Events
To simulate specific input events (like pressing a specific key code):
d simulateInput --type <EV_TYPE> --code <KEY_CODE> --value <VALUE>
-
EV_TYPE: Usually
1forEV_KEY. -
KEY_CODE: The Linux input event code (e.g.,
28for Enter,30for A). -
VALUE:
1for press,0for release,2for repeat.
Example: Pressing 'A'
# Press 'A' (code 30)
d simulateInput --type 1 --code 30 --value 1
# Release 'A'
d simulateInput --type 1 --code 30 --value 0
Underlying Utilities
The daemon uses InputMapper internally to emit these events to /dev/uinput via the virtual device it creates. This bypasses physical hardware constraints and allows for automation even when physical devices are ignored or grabbed.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
0
GitHub Forks
0
Created
Jan 2026
Last Updated
il y a 4 mois
tools
tools system admin
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!