Voodooprojects

VoodooPS2Controller => General Discussion => Topic started by: elk on April 28, 2009, 06:32:09 PM

Title: Some help?
Post by: elk on April 28, 2009, 06:32:09 PM
First of all thanks for this very nice driver, works nearly fine :)
An please appologize my noob questions :)

But to things I have to aks:
1.) What does the resolution-fix for PS2Mouse do? Does it affect the trackpad too? I'm asking because of the freaky way my mouse moves on a Lenovo S10e: A lot faster vertically, then horizontally.

2.) Are there any documents or help out there for the PrefPane settings? Without any description its hard to trimm these settings...

Thanks!
Title: Re: Some help?
Post by: elk on April 30, 2009, 05:40:03 PM
No answers? :(
Title: Re: Some help?
Post by: trip2me on May 05, 2009, 09:38:57 AM
First of all thanks for this very nice driver, works nearly fine :)
An please appologize my noob questions :)

But to things I have to aks:
1.) What does the resolution-fix for PS2Mouse do? Does it affect the trackpad too? I'm asking because of the freaky way my mouse moves on a Lenovo S10e: A lot faster vertically, then horizontally.

2.) Are there any documents or help out there for the PrefPane settings? Without any description its hard to trimm these settings...

Thanks!
in case of VoodooPS2Mouse.kext you can find VoodooPS2Mouse.kext/Contents/Info.plist.
there are 3 options.
Code: [Select]
<key>InvertY</key>
<false/>
<key>ForceDefaultResolution</key>
<false/>
<key>DefaultResolution</key>
<integer>9830400</integer>

If you want assign it forcefully, use ForceDefaultResolution and DefaultResolution field.
Title: Re: Some help?
Post by: elk on May 05, 2009, 09:45:47 AM
Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk
Title: Re: Some help?
Post by: trip2me on May 05, 2009, 10:33:46 AM
Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk


in VoodooPS2Mouse.cpp
Code: [Select]
  //
  // Obtain our mouse's resolution and sampling rate.
  //

  if (_mouseInfoBytes == (UInt32)-1)
  {
    _mouseInfoBytes = getMouseInformation();
if (forceres)
_resolution = defres;
else
  switch (_mouseInfoBytes & 0x00FF00)
  {
  case 0x0000: _resolution = (25)  << 16; break; //  25 dpi
  case 0x0100: _resolution = (50)  << 16; break; //  50 dpi
  case 0x0200: _resolution = (100) << 16; break; // 100 dpi
  case 0x0300: _resolution = (200) << 16; break; // 200 dpi
  default:     _resolution = (150) << 16; break; // 150 dpi
  }
  }

Default value is
Code: [Select]
9830400 = (150) << 16; // (default is 150 dpi; 6 counts/mm)
9834040 = 150 * 65536
Title: Re: Some help?
Post by: worrabkram on May 05, 2009, 02:58:30 PM
I've got the same issue on my Samsung nc10, Vertical is much more sensitive than horizontal on the trackpad.

I'd like to sort this out but surely it needs some tweaking in VoodooPS2Trackpad.kext.

Any ideas?

Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk


in VoodooPS2Mouse.cpp
Code: [Select]
  //
  // Obtain our mouse's resolution and sampling rate.
  //

  if (_mouseInfoBytes == (UInt32)-1)
  {
    _mouseInfoBytes = getMouseInformation();
if (forceres)
_resolution = defres;
else
  switch (_mouseInfoBytes & 0x00FF00)
  {
  case 0x0000: _resolution = (25)  << 16; break; //  25 dpi
  case 0x0100: _resolution = (50)  << 16; break; //  50 dpi
  case 0x0200: _resolution = (100) << 16; break; // 100 dpi
  case 0x0300: _resolution = (200) << 16; break; // 200 dpi
  default:     _resolution = (150) << 16; break; // 150 dpi
  }
  }

Default value is
Code: [Select]
9830400 = (150) << 16; // (default is 150 dpi; 6 counts/mm)
9834040 = 150 * 65536
Title: Re: Some help? (with mouse resolution and sampling rate)
Post by: thorazine74 on June 08, 2009, 10:38:32 AM
Is it posible to set a resolution higher than 200 dpi? I tried it but it doesnt seem to accept it...
I'm asking because I'm experiencing that the cursor movement is not smooth at all. I'm using a Microsoft Wireless Optical Mouse and it works much better when connected through USB than through PS/2 (with an adapter).
Also it looks like the acceleration curve is completely wrong, and there doesnt seem to be any way of modifying it with OS X settings.
The normal cure for this is increasing the sampling rate, is it posible to do that with OS X? When you increase the resolution arent you also modifying the sampling rate?
This is how I have it set up as 200 dpi and I dont notice much difference from 150 dpi default:
Code: [Select]
<key>ApplePS2Mouse</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.PS2Mouse</string>
<key>DefaultResolution</key>
<integer>13107200</integer>
<key>ForceDefaultResolution</key>
<true/>
<key>IOClass</key>
<string>ApplePS2Mouse</string>
<key>IOProviderClass</key>
<string>ApplePS2MouseDevice</string>
<key>InvertY</key>
<false/>