Results 1 to 3 of 3

Thread: How do you get raw mouse data?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2008
    Posts
    1,181

    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
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,458

    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
    Posts
    1

    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