Home

Awesome

IbInputSimulator

A library for simulating keyboard and mouse input with drivers.

Supported drivers

Software compatibility

SoftwareSendInputLogitechRazerMCIIDDEDIDMOther
Blade & Soul (Korean) <!--220703-->✔️✔️✔️❌ SendInput hook
GenshinHigh

For SendInput, software with High indicates that the target process usually has a high integrity level, which may block SendInput due to UIPI. To put it simply, this means that you need to run the input simulator with administrator privileges.

Supported languages

C++

Build

See InputSimulator.hpp for the API.

AutoHotkey

Download: Releases

Usage:

<table> <thead><tr> <th>AutoHotkey v2</th> <th>AutoHotkey v1</th> </tr></thead> <tbody> <tr> <td><pre lang="ahk">; Run Notepad, type "Hello world!" ; and then select all text by mouse. <br/> #Include "IbInputSimulator.ahk" <br/> IbSendInit() ; IbSendInit("AnyDriver", 1) <br/> Send("#r") WinWaitActive("ahk_class #32770") Send("notepad`n") <br/> WinWaitActive("ahk_exe notepad.exe") Send("Hello world{!}") Sleep(100) MouseClickDrag("Left", 5, 5, 150, 50)</pre></td> <td><pre lang="ahk">; Run Notepad, type "Hello world!" ; and then select all text by mouse. <br/> #Include %A_ScriptDir% #Include IbInputSimulator.ahk <br/> IbSendInit() ; IbSendInit("AnyDriver", 1) <br/> Send #r WinWaitActive, ahk_class #32770 Send notepad`n <br/> WinWaitActive, ahk_exe notepad.exe Send Hello world{!} Sleep 100 CoordMode, Mouse, Client MouseClickDrag, Left, 5, 5, 150, 50</pre></td> </tr> </tbody> </table>

Related projects

Credits

Sponsors:

DateSponsorComment
2022-04-03任性MouClassInputInjection
2023-04-22任性Logitech
2023-02-28-
2021-08-28任性Razer