Jump to content

PS/2 Mouse movement fix


ogoid
 Share

1 post in this topic

Recommended Posts

Hello all, this is my first post and also my first contribution. :( I'm publishing here a fix I made to a problem that I'm having with my ps2 mouse.

 

As far as I discovered, the problem is that the mouse isn't reporting its correct settings (ie., resolution and sample rate) to the driver. As result the pointer's movement is very fast, jumping a lot of pixels instead of moving pixel per pixel. Depending on the mouse acceleration set on the preferences panel it can jump more than 20 pixels with a small touch on the mouse! (If necessary, I may create some video demonstrating this.)

 

As I already saw one or two posts with similar problems, I think this may be affecting other users out there. So here I'm sending a zipped file with a modified ApplePS2Mouse (both source and binary -- the original source is from this thread: http://forum.insanelymac.com/index.php?showtopic=21952 ). To install it just backup and substitute the file ApplePS2Mouse in System/Library/Extensions/ApplePS2Controller/Contents/Plugins/ApplePS2Mouse/Contents/MacOS with the one in the zip (don't forget to fix permissions and delete the cache).

 

 

Also, to the folks interested in the source: I just inserted a check in ApplePS2Mouse::getMouseInformation() for the case of a bad report. Search for "//DIOGO EDIT BEGIN" to find it. I tried also to reset the device (following this info: http://www.computer-engineering.org/ps2mouse/ ), but it didn't seemed to work. Anyone with more experience could give a hand on this?

 

 

Og.

ApplePS2MouseFixed.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...