Just did an update on RInput as some sequential (single threaded) games were suffering from performance issues in combination with Rinput. Because the win32 dynamic library system depends on the process affinity it would’ve been quite dirty to set the process affinity inside the DLL. For anyone who was experiencing this issue, here is the single threaded version (with some minor performance improvements).
After posting some information about calling an exported function from a previously injected dynamic link library, I decided to release my DLL injection class for C++. The class only uses low level win32 API calls.
This class is written and tested in Windows XP. You need at least Windows 2000 to use this class. In order to check if the system meets the operating system requirements you might use the GetVersion/GetVersionEx function from the win32 API.
The class is released under BSD license. In case you like it or experience problems please leave me a comment.
RInput allows you to override low definition windows mouse input (accurate untill 400cpi) with high definition mouse input (raw input, which is more accurate for high cpi mice). This is certainly useful for games like Wolfenstein – Enemy Territory as the engine only supports low definition windows mouse input.
- Prevents negative acceleration.
- More accurate.
- Bypass windows mouse settings (1:1, Low Level).
- Less overhead than Direct Input.
Read the included readme to find out how to use it!
note: you need winrar to extract the file package.
Download it here.