Jump to content
Sign in to follow this  

Changing mouse sensitivity

Recommended Posts


Okay, so I'm trying to change the mouse sensitivity. I find out that the way to do this is to use the SystemParametersInfo function. No matter what I try, it returns true while nothing happens. Here's the code as it is.

#Include <WinAPI.au3>
$result = _WinAPI_SystemParametersInfo("SPI_SETMOUSESPEED", 0, 1)
MsgBox(0, "", String($result))

Here's some more info on the function: http://msdn.microsoft.com/en-us/library/ms724947.aspx

Edited by mblunk

Share this post

Link to post
Share on other sites

Try searching on SystemParametersInfo in the forum search. :P

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.