Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'You can change the acceleration curve too!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
You can change the acceleration curve too!
Authored by: nickp on Dec 08, '04 09:42:37PM

I never use the scrollwheel myself (trackball, can't reach), but this hint inspired me to go hack something more important in my case: the pointer acceleration curve.

I have a large cinema display, and the fastest setting for rapid mouse movement was never fast enough to get all the way across. I'm somewhat hamfisted (apparently) and the default lowest setting for slow movement was too fast.

Translation: the default curves start sharply and then flatten out; what I wanted was a logarithmic increase.

Here's what I found out about com.kensington.mouseworks.plist :

There were three AccelTables of arrays, one for Mouse4, one for Mouse8, and one for TBall2. I hacked the latter. [I suspect you may see other things here as well, depending on what devices you have ever had connected to your system.]

Each table contains 9 arrays, each array corresponds to a curve in the default set of curves.

There is an index into the table which specifies which curve to use, in my case called Tball2AccelLevel. This is specified just before the tables.

I set my Tball2AccelLevel to "1", and changed the entries in the first array to this:


	<integer>0</integer>
	<integer>2</integer>
	<integer>3</integer>
	<integer>4</integer>
	<integer>6</integer>
	<integer>9</integer>
	<integer>15</integer>
	<integer>24</integer>
	<integer>42</integer>
	<integer>69</integer>
	<integer>120</integer>
	<integer>210</integer>

which gives more or less the log curve I wanted.

Nicely enough, the Kensington Mouseworks prefpane displays the hacked curve correctly! (And doesn't munge it -- at least not unless you change something.)

[The prefpane, BTW, does not seem to write changes until you exit it (say by going back to the "all" display in SysPreferences). BUT it also seems to write the file one last time if you quit out of SysPreferences (even if you've exited the prefpane). So if you are futzing around you need to completely quit SysPreferences before writing out your changes.]

This fixes what was one of the most irritating things about my setup, and I am grateful for the idea. Thanks!

[ Reply to This | # ]

You can change the acceleration curve too!
Authored by: barryjaylevine on Dec 10, '04 12:41:58AM

Excellent tip!

Thank you, as well.

Barry

---
-----
Honda Reflex - Riding a 60mpg scooter is your patriotic duty!



[ Reply to This | # ]