Jump to content

is it possible the get the mouse moving speed and return its speed value?


Go to solution Solved by mistersquirrle,

Recommended Posts

  • jacky998877 changed the title to is it possible the get the mouse moving speed and return its speed value?
  • Solution

Yes, it's possible.

Have you tried anything? It's some basic mathematics. Calculate the distance between 2 measurements of the cursor, use a timer to get how long it was between measurements, and then calculate the speed using the distance and time taken (speed = distance/time).

We ought not to misbehave, but we should look as though we could.

Link to comment
Share on other sites

  • 2 weeks later...

Even though you already marked @mistersquirrle answer as solution: In case you would like to look up the settings for "mouse speed" "Cursor accelleration" and others (start -> run -> main.cpl)  you can read them from the Registry values in the key HKEY_CURRENT_USER\Control Panel\Mouse

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...