Mouse tweaks

From GIMX

Revision as of 09:11, 28 September 2012 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Jump to: navigation, search
Other languages:

About

If you're experiencing a laggy aim/mouse translation after having increased the DPI to it's max as well as calibrated your configuration following the Mouse Calibration guide - the problem might be the default (USB) mouse polling rate of the operating system, or in a worst case scenario, a crappy Bluetooth dongle. So let's give the mouse polling rate a shot before we dump the Bluetooth dongle.

You're doing this at your own risk! We're not responsible for any damage you may cause to your console, computer or peripherals.

For Linux/Ubuntu

This method has only been tested with Ubuntu 10 and 11, but may work with older versions, and with other Linux distros as well.

Edit the modules file

In a Terminal:

gksudo gedit /etc/modules

After entering the password (if prompted) the modules file will be opened in a text editor with the proper permissions, allowing you to edit it.

Then, at the bottom add these two lines and save the file:

-r usbhid
usbhid mousepoll=NUMBER

http://gimx.fr/img/screenshots/tuto/mt/modules.jpg

Where NUMBER is:

1 = 1000Hz
2 = 500Hz
4 = 250Hz
8 = 125Hz
10 = 100Hz (Default)

Example for 250Hz:

-r usbhid
usbhid mousepoll=4

P.S. Normally a polling rate of either 250Hz or 500Hz is enough. Newer mice may or may not benefit from 1000Hz. Just remember that a high polling rate is a strain on both your computer and mouse which may create more lag than mend it.

Restart and verify

That's it! Just restart Ubuntu, verify that the change has taken effect, and you're good to go

Run this command in terminal to verify the value you set:

cat /sys/module/usbhid/parameters/mousepoll

http://gimx.fr/img/screenshots/tuto/mt/ubmp4.jpg

For Windows Vista/7

In Windows, if you have a mouse like the Logitech MX518, you're stuck with a polling rate of 125Hz by default, unlike the Logitech G5, G500 and new G400 that change it to 500Hz, 1000Hz and 1000Hz respectively. There's is a way to change the default rate of 125Hz to 250Hz though for your mouse, so you can have the benefit of both smoother aim and a faster response time from running the emulator in it's 250Hz mode.

http://gimx.fr/img/screenshots/tuto/mt/250hzemu.jpg

Changing the mouse polling rate in Windows Vista/7 isn't as easy as in Ubuntu, unfortunately, since you simply can't change a value in some file or the registry, but are required to use a modified USB HID driver while running Windows in Test Mode to allow the driver to work, instead.

Requirements

First of all you'll need to download the NGOHQ's Driver Signer Enforcement Overrider: link

Then grab this archive I've compiled containing both the USB HID driver and DIMR (handy tool to check the current rate of your mouse, author unknown) and extract the HIDUSBF folder anywhere you'd like on your computer: link

(Credits go out to SweetLow for the drivers - We don't offer support for these drivers so check the readme file for further instructions, troubleshooting and links)

It is also recommended to turn off UAC but may not be required (everything must be run as administrator): link

Install the driver and enable Test Mode

To install the driver simply right click the HIDUSBF.INF file in the HIDUSBF folder and select Install

To enable Test Mode, run the Driver Signer Enforcement Overrider (dseo13b.exe) and click the Next button after having selected the Enable Test Mode option.

http://gimx.fr/img/screenshots/tuto/mt/tmenabled.jpg

Restart Windows to complete the process.

Sign the driver

After restarting Windows you'll be in Test Mode, verified by a watermark in the lower right hand corner of your desktop. You'll now be able to sign the driver you installed.

http://gimx.fr/img/screenshots/tuto/mt/tmwm.jpg

To sign the driver, run the Driver Signer Enforcement Overrider again and click the Next button after having selected the Sign a System File option.

In the next window enter the following text into the text field and click OK:

C:\Windows\System32\Drivers\HIDUSBF.SYS

Restart Windows to take the newly signed driver into use.

Adjust your mouse polling rate and verify

After having restarted Windows, open up the HIDUSBF folder you extracted in the beginning and run Setup.exe

http://gimx.fr/img/screenshots/tuto/mt/rateadjust.jpg

Now, make sure the Mouses Only checkbox is ticked and that you have the right mouse selected if there are several devices listed. Then simply tick the Filter On Device checkbox, select 250 from the Selected Rate dropdown box and click the Restart button.

Your mouse should now be running with a polling rate of 250Hz! You can verify this by running the dimr.exe file in the HIDUSBF folder and moving the mouse around.

http://gimx.fr/img/screenshots/tuto/mt/125vs250.jpg Before and after.

P.S. If the polling rate didn't change you might have to restart Windows for it to take effect.


For Windows XP

Changing the mouse polling rate in Windows XP is a piece of cake compared to Windows Vista/7 since you don't need to sign any drivers and all that jazz.

Download

Download the following archive and extract the HIDUSBF folder anywhere you'd like on your computer: link

(Credits go out to SweetLow for the drivers - We don't offer support for these drivers so check the readme file for further instructions, troubleshooting and links)

Adjust your mouse polling rate and verify

Open up the HIDUSBF folder you extracted in the previous step and run Setup.exe

http://gimx.fr/img/screenshots/tuto/mt/adjustratexp.jpg

Now, make sure the Mouses Only checkbox is ticked and that you have the right mouse selected if there are several devices listed. Then simply tick the Filter On Device checkbox, select 250 from the Selected Rate dropdown box and click the Restart button.

Your mouse should now be running with a polling rate of 250Hz! You can verify this by running the dimr.exe file in the HIDUSBF folder and moving the mouse around.

http://gimx.fr/img/screenshots/tuto/mt/dimrxp.jpg

P.S. If the polling rate didn't change you might have to restart Windows for it to take effect.