Mouse settings

From Liquipedia StarCraft 2 Wiki

Mouse settings are critical when playing Starcraft 2. The various settings can be confusing, so this article has been written to explain the settings means and how changes affect gameplay. This is particularly important to computer gamers that play on tournament or LAN computers and must adjust settings to personal taste quickly.

CPI vs On-Screen Sensitivity[edit]

CPI (counts per inch, often erroneously referred to as DPI -- dots per inch) is the scale at which a mouse converts physical distance to digital counts.

The CPI of a mouse correspond to how many movement counts are sent from the mouse when it is moved one inch. Without modification on the counts by the system, moving a 800 CPI mouse one inch horizontally should theoretically shift the cursor by 800 pixels in the same direction. Effectively, higher CPI will result in a more sensitive cursor. CPI is merely a conversion scale used by the sensor internally, and is not related to its frame-rate in any way.

Higher CPI offers a faster cursor without sacrificing any precision. Turning up the sensitivity in Windows increases the speed but reduces the precision of the cursor. Increasing the sensitivity this way causes Windows or the game to take the number of pixels the cursor should have moved and multiply it. Thus, there are certain pixels where the mouse cursor cannot land. For example, if you multiply the mouse input by two, you'll never get an odd number. Only changing the CPI can change the cursor speed without losing precision; this is why many mice include on-the-fly CPI switching. Some mice be set up with custom profiles between which the user can switch. Most gamers prefer low CPI for first-person shooter games and high CPI for RTS and MOBA games.

Because CPI is based on pixels, monitor resolution plays a role in the perceived sensitivity of a mouse. A 1000CPI mouse will move the cursor 1000 pixels across the screen when the mouse is moved one inch. On a monitor running 1024x768 resolution, moving the mouse one inch horizontally will roughly move the mouse from one side of the screen to the other. On a 1920x1080 monitor, the cursor would move only about halfway across when the mouse is moved one inch. The higher the resolution of the monitor, the slower the mouse cursor will appear to move.

Optimal Windows Setting[edit]

For maximum accuracy and minimal distortion, you should set your Windows Pointer Speed Setting at the central notch and disable "Enhance Pointer Precision," as shown in the image to the right. These settings are found in Window's Control Panel.

Disabling the "Enhance Pointer Precision" button might not fully disable acceleration in some older games; see below for further details.

Pointer Speed[edit]

Windows has 20 mouse sensitivity levels. At the setting of 10 (middle notch in Control Panel, shown as 5/10), the multiplier is 1 (i.e. for every one mouse count your computer will move the pointer one pixel on your screen).[1] Non-integer multipliers, contrary to popular belief, do not affect accuracy. The rounded residuals are handled by an accumulator. However, a MouseSensitivity setting of greater than 10 will cause pixel skipping and slightly reduce the precision of the cursor.

Mouse Acceleration[edit]

In Window's mouse settings, under the pointer speed slider there is a check box called "Enhance pointer precision". This is the Windows term for mouse acceleration. It is enabled by default. Mouse acceleration increases the cursor speed based on the velocity of the mouse, i.e., the faster the mouse is moved, the faster the cursor moves. This means Windows is artificially adjusting the input of the mouse.

Some mice have acceleration built into their driver, which can be configured/disabled in their specific software options. Many laser sensors have slight CPI variances that are speed-dependent, which is commonly referred to as "acceleration built into the hardware" but is in fact simply inaccuracies and should not properly be called acceleration. Consult online resources and reviews before buying a mouse.

Certain players prefer to have acceleration enabled, but it is typically recommended that mouse acceleration be turned off. Universally constant mouse movements facilitate better imprinting on muscle memory. Simply put, the mouse and the cursor should always move the same way. However, personal preferences vary.

To turn mouse acceleration off on Windows, clear the "Enhance Pointer Precision" box. This disables mouse acceleration. However, some older games call for the OS to temporarily re-enable the acceleration feature while in-game. A workaround is to simply modify the acceleration curve in Windows Registry such that it corresponds to 1-to-1 movement. This requires administrator permission. If you are not familiar with editing the Windows Registry (and even if you are), back up your registry before continuing.

1. Open the Windows Registry Editor. To do this, press the Windows key and R, then type "regedit" and press enter.

2. Navigate to HKEY_CURRENT_USER/Control Panel/Mouse.

3. Double-click SmoothMouseXCurve. A window with a grid of hexadecimal values will appear. Replace the values in the grid with those below. You cannot copy and paste into the editor; you must change each value manually. If you think you've made a mistake, you can press "cancel" and no changes will be made. Press OK when you are finished.

00 00 00 00 00 00 00 00
00 a0 00 00 00 00 00 00
00 40 01 00 00 00 00 00
00 80 02 00 00 00 00 00
00 00 05 00 00 00 00 00

4. Double-click SmoothMouseYCurve. Repeat the above step, using the following values instead. Note that the two values are not the same; using the wrong values will cause problems. Press OK when you are finished.

00 00 00 00 00 00 00 00
66 a6 02 00 00 00 00 00
cd 4c 05 00 00 00 00 00
a0 99 0a 00 00 00 00 00
38 33 15 00 00 00 00 00

5. Repeat steps 2 to 5, but instead navigate to HKEY_USERS/.DEFAULT/Control Panel/Mouse this time. Reboot and you are done.

This change may or may not be permitted in sanctioned play. However, under no circumstances can be it be called a "hack" or "cheat;" it is perfectly legal, merely inaccessible from the Windows GUI.

Other Operating Systems[edit]

On MacOS, disabling acceleration is not exposed to the user by default. SteelSeries Exactmouse is an applet that disables acceleration from the OS level. When running it for the first time, you will need to manually unblock it from the Security preferences menu so that it can be started automatically in the future.

Other programs such as SmoothMouse or this program will allow you to disable mouse acceleration as well, but their compatibility is often broken by newer MacOS releases.

On an X window manager (i.e. Linux, BSD, etc.), type $ xset m 1/1 9999 in the console, then use xinitrc to make it permanent.

SC2 Specific Settings[edit]

Assuming you play StarCraft 2 at the same resolution as your desktop, as of patch 1.4, you can set StarCraft to use the same mouse settings as your normal Windows (this is often easier).[Citation needed] To do this, go to Options > Controls and un-check "Enable Mouse Sensitivity". This will make StarCraft use the operating system's pointer speed setting.

If SC2 is not set to disable mouse sensitivity, it will instead apply one of the 20 Windows sensitivity settings according to 5% intervals on the percentage slider. The pointer counts received from the mouse is multiplied by the factor according to the table on the right.