Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1>This answer is on the wrong website!</h1> <p>A lot of my reputation on StackOverflow has come from people voting up this answer, which I wrote way back before I realised that there are several stack exchange websites and that StackOverflow is for programming questions and answers only. Therefore the question above is about how to tackle this if you want to code your own mouse drivers. For all other discussion, go have it <a href="https://superuser.com/questions/218314/disabling-mouse-acceleration-in-mac-os-x">here on the superuser site</a> where it belongs.</p> <p>Original answer follows.</p> <hr> <h1>Explanation</h1> <p>There's a hidden preference that you can change from the Terminal. To read its current value type</p> <pre><code>defaults read .GlobalPreferences com.apple.mouse.scaling </code></pre> <p>at the Terminal prompt. Normal values are 0 ~ 3, which can be set by moving the 'Tracking Speed' slider in the Mouse pane of System Preferences. Values of 0 ~ 3 won't disable acceleration, therefore.</p> <h1>How to Disable Acceleration</h1> <p>However, if you set it to -1 by typing</p> <pre><code>defaults write .GlobalPreferences com.apple.mouse.scaling -1 </code></pre> <p>in the Terminal, that seems to disable acceleration and set the mouse tracking speed to some constant predefined value which you can't change.</p> <p>I found I had to log out and back in again for it to take effect. After that, the <code>pixels pointer moves / meters mouse moved</code> ratio is <em>constant</em> but unfortunately not <em>adjustable</em>.</p> <h1>How to Undo Changes</h1> <p>To revert back to Apple default settings, just open the Mouse pane of System Preferences and change the Tracking Speed to anything, then quit System Preferences.</p> <h1>Mouse ≠ Trackpad</h1> <p>Mac OS X stores mouse and trackpad settings independently. If you want to disable acceleration on a trackpad instead of a mouse, the instructions are the same, just replace with <code>com.apple.trackpad.scaling</code> wherever you see <code>com.apple.mouse.scaling</code> in the above (and use the Trackpad pane of System Preferences instead of the Mouse pane, obviously).</p> <h1>Notes</h1> <p>I won't cite a source, since this tip is available in many places on the web. I tried it in OS 10.7 Lion, but many of the sources claim to be using 10.6 Snow Leopard.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload