Results 1 to 5 of 5

Thread: How to adjust Mouse Sensitivity through hotkey

  1. #1
    Join Date
    Jan 2011
    Posts
    101

    How to adjust Mouse Sensitivity through hotkey

    I will attempt to keep this brief. Mainly I require adjusting my mouse sensitivity for a definite game. I figured I would attempt regulating the Windows mouse sensitivity to recompense. I did a few hunting, and I went in front and prepared a script which fruitfully changes the registry key "mousesensitivity" below the present user and after that send WM_SETTINGCHANGE. The trouble is that when the registry is rationalized (I observe an hourglass pointer extremely temporarily while it broadcasts), my mouse does not shift any quicker. Now, I know I am adjusting the accurate setting because I attuned it utilizing the control panel and refreshed Regedit, and certain sufficient there it is: mousesensitivity value alters. 20 is the value I had put (the greatest Windows would permit via the control panel), and I was annoying to put it to 60. I figured possibly 60 was out of limits and just wasn't established (although the key altered), so I attempted changing it to 10. Well, once more, the value altered, but the mouse movement didn't. Possibly I am misplaced something or possibly I am going about it the incorrect way. Any ideas?

  2. #2
    Join Date
    May 2008
    Posts
    1,347

    Re: How to adjust Mouse Sensitivity through hotkey

    A few of these programmatic supersedes we do to our system settings will not be consequence until we log-off and log-in another time. Occasionally, the environment of such a system-extensive transform might need a reboot too. User32.dll gives us an extremely helpful function SystemParametersInfo () that we can utilize for such necessities. This is what you require: Regulating Mouse Sensitivity through hotkey

    Code:
    ^!h::DllCall("SystemParametersInfo", Int,114, Int,0, UInt,10, Int,2)
    ^!n::DllCall("SystemParametersInfo", Int,114, Int,0, UInt,20, Int,2)
    114 is SPI_SETMOUSESPEED
    10 and 20 are values which point to speed.

  3. #3
    Join Date
    May 2008
    Posts
    1,275

    Re: How to adjust Mouse Sensitivity through hotkey

    The just trouble is that it does not affect my mouse speed in the full screen application. I would generally pass this off as "Oh dang, the game does not allow me alter it in game. It is not in the source cipher, so there is no genuine way to do it apart from by switching out drivers" or a bit like that. The odd thing, though, is that it efforts generally on other machines. Now, I have the compassion at utmost here on the laptop, so possibly this program and additional same ones defaults to a definite sensitivity and disregards the Windows settings. In that case the query is why my default mouse sensitivity is too stumpy on this mouse or laptop mixture, and the genuine question. Is there any method to up the mouse sensitivity further than the doorsill (maybe by going to an inferior level)?

  4. #4
    Join Date
    May 2008
    Posts
    1,395

    Re: How to adjust Mouse Sensitivity through hotkey

    There are pretty some articles on this, just be conscious that if you utilize a few of them, even only the mouse analysis drivers, it is probable they can spoil your core operating system mouse driver. As I suspect occurred to mine a short time back, resulting in many twice clicking while I just clicked one time. Totally eliminating the USB mouse device and its driver, and reinstalling it and its software appears to have set it, but work out quite of prudence. Expect to require reinstalling mouse matter.

  5. #5
    Join Date
    Aug 2008
    Posts
    1,238

    Re: How to adjust Mouse Sensitivity through hotkey

    I have been utilizing slightly of cipher which I establish and modified (not actually understanding it). It seems mostly like yours and it efforts, but can you clarify the dissimilarity between the "int" and the "uint"?

    My code:

    Code:
    DllCall("SystemParametersInfo", UInt,114, UInt,0, UInt,10, UInt,0)
    Your code:

    Code:
    DllCall("SystemParametersInfo", Int,114, Int,0, UInt,10, Int,1)

    And what regarding the "Uint, 0" at the finish of mine, as contrasted to the "Int,1", at the last part of yours?

Similar Threads

  1. How to Choose Sensitivity of Gaming Mouse
    By Y-Maker in forum Hardware Peripherals
    Replies: 5
    Last Post: 04-02-2011, 10:01 PM
  2. Best sensitivity in wireless mouse for gaming
    By Samaria in forum Hardware Peripherals
    Replies: 4
    Last Post: 26-11-2010, 08:44 AM
  3. How to adjust mouse sensitivity ?
    By NYDIA in forum Hardware Peripherals
    Replies: 4
    Last Post: 07-09-2010, 09:25 AM
  4. Mass Effect 2 Mouse Sensitivity
    By Halyn in forum Video Games
    Replies: 4
    Last Post: 12-04-2010, 01:39 PM
  5. How tune up keyboard and mouse sensitivity
    By ZeDaX in forum Hardware Peripherals
    Replies: 3
    Last Post: 01-09-2009, 09:38 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,462,092.81469 seconds with 17 queries