Results 1 to 3 of 3
  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008

    How do you get raw mouse data?

    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?

  2. #2
    Fanatic Member PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Newport, UK

    Re: How do you get raw mouse data?

    https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx and https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx might be worth a read, they go into the low level mechanisms involved. Not checked if anyone has already done any VB wrappers though.

  3. #3
    New Member
    Join Date
    Feb 2018

    Re: How do you get raw mouse data?

    Hi just wondering if you ever found a solution to this? I'm working on a java application that utilises mouse position data but am restricted to the mouse's position on the screen (very low res). Feel free to send me a pm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.