Sign in to follow this  
Followers 0
mblunk

Changing mouse sensitivity

2 posts in this topic

#1 ·  Posted (edited)

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)
_WinAPI_SystemParametersInfo("SPIF_UPDATEINIFILE")
_WinAPI_SystemParametersInfo("SPIF_SENDCHANGE")
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  
Followers 0