Mouse Input Injection
December 29, 2025 ยท View on GitHub
A lightweight, header-only alternative for emulating mouse movements and actions.
Features
- Utilizes the undocumented
NtUserInjectMouseInputsyscall. - Usage is identical to the
mouse_eventfunction in the Windows API. - Header-only design makes it easy to integrate into your program.
Usage
- Download and include the
mouse_input_injection.hheader in your project. - Replace calls to
mouse_eventwithmy_mouse_event.
License
This project is licensed under TOSSUCU License 2025.9.
Credits
Inspired by Zpes' mouse-input-injection.