{"repo":"tio/input-emulator","free":true,"listed":false,"github":"https://github.com/tio/input-emulator","clone":"git clone https://github.com/tio/input-emulator.git","description":"A scriptable input emulator for Linux","language":"C","stars":48,"topics":["emulator","input","keyboard","linux","mouse","multitouch","touch","uinput","automation","scripting"],"license":null,"category":"workflow-automation","readme_excerpt":"input-emulator - A scriptable input emulator 1. Introduction A scriptable input emulator for Linux which instructs the kernel to create virtual keyboard, mouse, and touch input devices through which one can perform various high level actions (typing, movement, gestures, etc.) via command-line. Similar actions can be performed with existing tools but they are either bound to X (eg. xdotool) or operates with low level events (evemu-create, evemu-event, etc.) which make scripted automation not as easy. 1.1 Motivation To make a simple input emulator for test automation. input-emulator was originally named keyboard-simulator and started as part of the tio project to script keyboard input to automate generation of tio demonstration gifs. 2. features Emulates the 3 arch type input devices: keyboard, mouse, and touch Perform device actions via command-line Keyboard actions: type, key, keydown, keyup Mouse actions: move, click, down, up, scroll Touch actions: tap Start/stop individual input device Input devices are maintained by background service (default) Allows stable input device name Status of service can be queried via command-line Documented via man page Supports various keyboard layouts (TODO, limited to DK for now) Shell completion support (bash) 3. Usage 3.1 Command-line The command-line interface is straightforward as reflected in the output from 'input-emulator --help': 3.2 Examples 3.2.1 Touch example 3.2.2 Mouse example 3.2.3 Keyboard example 3.2.4 Status example 4. Inst","default_branch":null,"files":null,"tree":[],"storefront":"/r/tio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tio/input-emulator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}