Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

How do you get raw mouse data?

$
0
0
Windows translates raw mouse movement data into a change in position on the screen. You can read the current position on the screen of the cursor with GetCursorPos. However I want to read the raw mouse input data. Raw mouse data though aren't absolute coordinates. They instead are a SPEED value (not a position value). That is, the raw mouse data will tell you how fast the mouse is moving horizontally and vertically. Is there any Windows API function that I can use to poll the mouse for its current X and Y speed values?

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>