Repository navigation
⚠️ Notice
Your AV will likely flag this program as trojan (as it should)! Please use with care.
You may need to allow the program to be executed.
⚡ Performance & 0.0% Idle CPU
- Event-Driven Message Pump: Replaced busy polling loops with message queue draining and
MsgWaitForMultipleObjectsEx, dropping background idle CPU usage to 0.0%. - Zero-Allocation Packet Serialization: Replaced dynamic string streams with stack buffers and
std::string_viewacross all UDP broadcasting hot paths. - Hardware Dirty-Checking: Integrated
dwPacketNumberandmemcmpdirty checks across controller loops to skip packet generation and socket transmission when inputs are resting. - 1.0 ms Multimedia Timer Precision: Locked multimedia timer resolution to 1.0 ms via
timeBeginPeriod(1).
⌨️ Keyboard & Protocol Enhancements
- Numpad Enter Differentiation: Detects the
KF_EXTENDEDflag onVK_RETURNto remap Numpad Enter to synthetic VK code14(0x0E), aligning with Warudo'sNUMPAD_RETURNkey binding. - Defensive Modifier Aliasing: Added automatic bidirectional mapping between generic modifiers (
VK_SHIFT,VK_CONTROL,VK_MENU) and their left/right counterparts. - POD DLL Shared Segments: Standardized
KeyboardTracker.dllshared data segment to raw POD arrays for robust multi-process memory isolation.
🎮 Controller & Pointer Improvements
- XInput Initial State: Fixed controller connection lifecycle to immediately broadcast the resting state upon connection, preventing uninitialized states in receivers.
- Mouse Click Freshness: Updated
MouseTracker.dllhook callback to refresh coordinates and extra info on all button-down and button-up events. - GameInput Status: GameInput controller mode is now marked as
(Experimental). For standard Xbox controllers, XInput is recommended. - Robust Networking: Zero-initialized
sockaddr_instructures and centralized Winsock startup/teardown.