Disable mouse acceleration mac os

Как поменять параметры ускорения движения курсора мыши в Мак ОС

Те, кто пробовал играть в игры с использованием мыши на маке, наверняка замечали «замечательный» эффект, который когда то давно придумали в недрах компании Эппл для медленных компьютеров — а именно динамическое изменение ускорения курсора мыши.
К чему это приводит — если вы перемещаете мышь незначительно — то все работает как и обычно. Но, стоит вам только передвинуть мышь на 1-1.5 см и начинаются чудеса — вместо ожидаемого линейного перемещения — мы наблюдаем резкий скачок.
Например, в игре Counter Strike это приводит к тому, что вместо прицеливания вы разворачиваетесь на 180 градусов.

Я достаточно долго изучал этот вопрос. Существует множество страниц в интернете, где этот эффект описывается, но не дается простого решения проблемы. Предлагается воспользоваться различными платными и не очень утилитами.
Компания Эппл отписывается на этот вопрос в своем стиле, т.е. проблема надумана и не существует.

Однако, все можно решить значительно проще. Обновлением единственного параметра в списке при помощи командной строки.
Я не видел ни одного описания правильного решения проблемы на русском языке, поэтому решил написать эту статью.
На решение проблемы сообществу потребовалось несколько лет.
Решение работает на последней ОС Yosemite.
Проверено мной.

Выполните следующую команду в терминале Мак ОС:
defaults write .GlobalPreferences com.apple.mouse.scaling -1

Все, мои поздравления. Наконец можно спокойно работать и играть.

Чтобы не быть голословным — вот ссылки на описание проблемы и предложением по ее решению.

Источник

How to Turn Off Mouse Acceleration on Mac in 3 Easy Ways?

by Jenefey Aaron Updated on 2021-05-19 / Update for OS X

Playing with mouse is one thing that we did in childhood. But as we grew older, this game started to irritate us. And hence, there are Apple users all over the world who seek answer for how to turn off mouse acceleration. But in order to first solve the mac mouse acceleration problem, we will need to know some basic things.

Part 1: What is Mouse Acceleration?

Most of the Apple users are not even aware of this term. They think of it as not so important. The mouse drivers in your device calculate the movement of your mouse. The cursor of your device will move all over the screen by a steady and constant speed depending on your sensitivity settings. Mouse acceleration is actually a standard speed setting, to decide the speed of the mouse when it is moved from one point to other on a screen. Now let us see different methods on how to turn off mouse acceleration.

Part 2: How to Disable Mouse Acceleration

Method 1: Use Terminal to Disable Mouse Acceleration

Using command line syntax is one way to disable mouse acceleration. These commands are entered in the Terminal and executed so as to control or disable the mouse acceleration.

All you need to do is execute the following command in the Terminal to know how to turn off mouse acceleration on MacBook Air:

Читайте также:  Как шифровать папки linux

defaults write .GlobalPreferences com.apple.mouse.scaling -1

All you need to do is adjust the «-1» at the end of the command. You will need to restart the device in order to make this change effective. For most of the device, the value at the end of the command is «2» or «3.» But you can keep it is as per your needs. You can also keep the value in decimals.

The main drawback of this method is that every time you change the value, you will need to restart the device. Now this a hell lot of time consuming activity. Also, if there is any mistake in the command line syntax, it might lead to irreversible changes. This might also lead in a situation where device might not work properly. Or this might cause even worse situation such as data loss.

Method 2: Use Command Line Script to Disable Mouse Acceleration

Using this method will also answer your «how to turn mouse acceleration off?» question. All you need to do is run a script and disable the acceleration. Follow the steps below to know how to turn off mouse acceleration on MacBook Pro.

  • Download the «killmouseaccel» script in your Terminal. This can be done by entering below command in the Terminal:
  • macpro:

user$ curl -O http://ktwit.net/code/killmouseaccel

  • Now convert the script into an executable code. This can be done by entering below command in the Terminal:
  • macpro:

    user$ chmod +x killmouseaccel

  • Run the script. This can be done by entering below command in the Terminal:
  • macpro:

    user$ ./killmouseaccel mouse

    Method 3: Use Preference Panel to Adjust Mouse Acceleration

    For users who feel that the above two methods are too confusing, then this method is for you. All you need to do is adjust the mouse settings in the Preference Panel. Now a Preference Panel is an external app that is used to control the speed of the mouse.

    Using this method will save your time since you will not need to reboot your device every time you change your settings. On the other hand, you never know which app is to be trusted and which to be not.

    Since using command line syntax is a dangerous risk, chances for your data loss are high while using command line syntax. Mistakes while using command line syntax may cause changes to your device that can damage it permanently. This will result in nothing but loss of your data forever. One method that can help you restore your data is using Tenorshare Mac Data Recovery. Using this tool, will restore back you lost data including files, folder, audio, video, images, and many more such things. This software is well recognized among users since it is very easy to use and cause no confusion.

    Well, long story short, whenever you need to know how to turn off mouse acceleration Mac OS X, all you need to do is use command line syntax or download a script that will disable the mouse acceleration. You can also use Preference Panel tools to do so and then the tool will do its magic. If you have any other solutions apart from the one mentioned above, do let us know. You can do this by commenting below. Also, do let us know your feedback on this article. Tell us if this article was helpful and if it need any changes by commenting below.

    Источник

    Disabling mouse acceleration in Mac OS X [closed]

    Want to improve this question? Update the question so it’s on-topic for Stack Overflow.

    Closed 8 years ago .

    To summarize: I want to have linear mouse response on Mac OS X. That is, no acceleration; an adjustable but constant pixels pointer moves / meters mouse moved ratio.

    I have no idea how to go about this. (Well, not true, but it’s better to start from scratch.) Should I write a mouse driver? A startup program? A click-and-forget settings adjuster? A preferences pane?

    I want my solution to be as simple, universal and unintrusive as possible, so some criteria might be:

    • Works on Snow Leopard (10.6.5) and later — much later, unless an important piece of the API gets deprecated
    • Works on mice but not touchpads, tablets, magic wands. (Or maybe configurable?)
    • Can easily be applied/run by other people who want the same thing (all 42 of us on the planet)

    I’m a fairly experienced C programmer, both in user and kernel space (in Linux and Windows), but know next to nothing about Mac OS X or Darwin. So anything is appreciated, really («can’t distribute drivers without certificate from Apple») but some documentation/reference would get me a long way («Darwin’s Next Generation Mouse Curve Editing API and Examples»).

    I know the question is a bit open but I don’t even know what kind of a solution could work. Thanks in advance.

    Edit: Although I’ve asked both questions to solve the same problem, this is the programmatical counterpart to the other one. (See the first sentence of this question.) Here I’m trying to create my own solution, so to speak, using — I don’t know — some HID API? A driver? A solution on the lines of «open current user’s prefs file and change this setting to this» should probably be posted on the other question, but note that such a solution probably doesn’t exist.

    Источник

    Отключение ускорения мыши в Mac OS X

    Я искал решение проблемы неиспользуемых мыши в Mac OS X для возрастов. Я попробовал gazillion программ и возился с каждой настройкой есть или могут быть добавлены. До сих пор я не нашел способа получить линейный ответ мыши в Mac OS X.

    на данный момент я серьезно рассматриваю возможность установки другой операционной системы.

    но прежде чем я это сделаю, или пойду взламывать двоичные файлы ОС, может быть, у кого-то здесь есть решение?

    Я хочу линейный ответ мышь. Я хочу высокую чувствительность. Мне нравится мое ускорение сенсорной панели и хотел бы сохранить его, если это возможно. Есть идеи?

    P. S. Я тут уже давно, я, наверное, уже попробовали самые популярные ответы.

    Я запускаю Mac OS X 10.6.5 на MacBook Pro. Я не использую мышь определенной марки.

    Я не ищу коммерческих решений.

    • Панель Настроек Ускорения Мыши, версия снежного барса, которая может приблизить меня к линейной реакции, но за счет скорости отслеживания (чувствительности).
    • ответы на этот вопрос: сделать ускорение мыши Mac OS X более Windows, как
    • о каждом фрагменте кода, который я нашел через Google.

    из того, что я собрал до сих пор, кажется, единственный способ убить кривую ускорения чтобы установить масштабирование мыши на отрицательное значение (для которого, по-видимому, существует два метода.) К сожалению, это также убивает скорость отслеживания. До 10.4 была функция, к которой вы могли бы передать свою собственную кривую ускорения, которая решала все.

    . а вот и программный вариант, как я буду пробовать ролл мое собственное решение: отключение ускорения мыши в Mac OS X @ SO

    Источник

    Mouse Acceleration on a Mac – What it is and How to Adjust or Disable it

    What is mouse acceleration?
    Mouse acceleration is something most Mac users don’t think twice about, many aren’t aware it even exists. By default the mouse drivers count the movement of your mouse and depending on your sensitivity settings, the cursor will then move across the screen by a similar and consistent distance. Mouse acceleration is basically a threshold setting on top of this, so when the mouse is moved past a certain point or at a certain speed, the cursor itself moves more quickly and goes further, thus accelerating the movement speed and rate of the mouse cursor.

    How to Disable or Adjust Mouse Acceleration

    There are several ways to disable or adjust the mouse acceleration curve in Mac OS X, here are 3 easy ways to turn it off or tweak the curve:

    1 – Disable mouse acceleration with defaults

    The following defaults write command will disable the mouse acceleration curve in Mac OS X. This is entered into the Terminal once and can be reversed or adjusted by changing the -1 at the end. You generally must log out for the change to take effect:

    defaults write .GlobalPreferences com.apple.mouse.scaling -1

    Hit return for the mouse scale to change, then log out and in or reboot for it to take effect. You can technically change the scaling number to just about anything you want by adjusting the number on the end.

    You can also read the current Mouse Acceleration setting by doing the following command:

    defaults read .GlobalPreferences com.apple.mouse.scaling

    For most mice in Mac OS X, the default is set to “2” or “3” but some users will find values as low as 0.125 and 0.25, it really depends on what type of mouse you are using and your version of Mac OS X. Thus, if you want to restore to the default setting for mouse acceleration you would use this command:

    defaults write .GlobalPreferences com.apple.mouse.scaling 2

    You typically need to log out and back in for the change to take effect.

    2 – Using a command line script to stop mouse acceleration

    Another alternative is a little script written by chrisk called “killmouseaccel”, it runs on a Mac and disables mouse acceleration while it’s running, and a reboot turns it off and on. Learn more about the script to disable Mac OS X mouse acceleration via the command line here.

    This easy to use script will completely disable mouse acceleration in Mac OS X. Settings are reversible by rebooting the machine. This is a favorite for Windows gamers.

    3 – Manually Adjust Mouse Acceleration with a Preference Panel

    For users who want precise control of mouse acceleration on Mac, you can download a free pref panel to enable such a feature. Mouse Acceleration preference pane is here – you can manually adjust or disable the mouse acceleration via this preference pane in Mac OS X, this is handy if you want to manually adjust the curve rather than just disable it.

    If you are looking for just instant changes and turning it off, I would recommend the command line methods, if you want precise control over the acceleration curve the preference pane is very useful.

    Why do people dislike mouse acceleration?

    Many new Mac users aren’t used to mouse acceleration, or the higher curve that Mac OS X’s acceleration provides compared to Windows. Mouse acceleration can cause a loss of cursor precision, particularly when trying to draw with the cursor in certain applications, or more commonly in gaming. The most common mouse acceleration complaints come from the gaming world, where the acceleration curve can lead to unanticipated mouse movements in games like Team Fortress 2 and Starcraft 2, amongst many others.

    Personally I don’t mind mouse acceleration at all, but I have used Macs for a long time so the curve does not feel foreign to me. Many Mac switchers from the Windows world come to Mac OS X and find the cursor feels funny and more responsive, these are generally the people who would want to tweak the curve or disable the feature. For the record, mouse acceleration does exist in Windows it’s just at a different threshold and sensitivity.

    Источник

    Читайте также:  Клавиши для копирования linux
  • Оцените статью