Skip to content

ulysse31/voodoops2controllercypress

Repository files navigation

VoodooPS2Controller for Cypress PS2 touchpad

This project was based on a fork of VoodooPS2Controller from rehabman.
The goal was to implement support for cypress PS2 on it : Goal is now completed, since we can now detect up to 5 fingers, even on cypress firmwares that officially only supports up to 3 fingers.
Rehabman sources were modified to allow/add new messages to VoodooPS2Keyboard, allowing new type of gestures/shortcuts, feeting a bit more with 4 and 5 fingers detection.
And have also created our own class/object instance (VoodooPS2CypressTouchPad) to detect and manage cypress ps2 touchpads.
I do all this for my personal fun, but if some good souls are happy with it and wants to make a donation click here

News: v0.7 is out ! New features, bug corrections and a working prefpane !
01-12-14: New version available: v0.7 => Everyone should use this release ! this last version is stable and has a working prefpane allowing to set/customized advanced settings
Installation Note: Backup all your actual PS2 related kext ! since this version is forked from rehabman's one: you do not need AppleACPIPS2Nub.kext/ApplePS2Controller.kext and must remove it if you have it or your system will crash.

For now, you can still test multiple versions :

Basic settings can be now changed on the System Preferences => Trackpad
Advanced settings can be now changed with the cypress prefpane, you can know easily which parameters to set in the VoodooPS2Trackpad Info.plist

Actual Features:

  • tap to click
  • dragging New !
  • one finger triple tap draglock (one tap to release) New !
  • two fingers scrolling (no smooth momentum)
  • two fingers tap for right click
  • 3 fingers tap/window move/select (aka 3 fingers mouse drag)
  • 4 fingers swipe: need to have set on System Preferences => keyboard input shortcut to control+command+[up/down/left/right]
  • 5 fingers lock screen : keep your 5 fingers for arround a second and leave the pad
  • 5 fingers sleep mode : keep your 5 fingers on pad for at least 3 secs
  • a working prefpane to change in live advanced values on the kext and easily know what to set on the VoodooPS2Trackpad Info.plist New !

If you have any questions/remarks, feel free to add an issue or you can visit the official topic at InsanelyMac Forum here

CHANGELOG

  • v0.7
  • corrected bugs and added optimizations
  • cleaned a bit the code
  • added kalman filtering (smooth) on multifinger gestures and pressure calc
  • added viable communication between kext and prefpane
  • added a prefpane that allows changing advanced settings in live and quick Info.plist edition
  • all values can now be set with the VoodooPS2Trackpad Info.plist

  • v0.6
  • changed all taps to use real timers (better finger tapping for 1 to 5 fingers)
  • cleaned a bit the code
  • enhanced 4 fingers swipes
  • scrolling speed can be now scalled on the trackpad preferences
  • 5 fingers lock screen : keep your 5 fingers for arround a second and leave the pad : it launches the OSX shortcut keys for screen locking (Control+Shift+Eject)
  • 5 fingers sleep mode : keep your fingers for at least 3 secs : it launches the OSX sleep shortcut keys (Command+Option(Alt)+Eject)
  • 2 fingers tap right click : 2 fingers tap gives a right click

  • v0.5:
  • Handles Buggy firmwares (v34, v35) that do not follow cypress own documentation (?!) sending 0x04 header packet instead of 0x20 for 4 fingers packets.
  • Now basic settings can be modified on System Preferences => Trackpad !

  • v0.4:
  • Added tap to click for XPS 15z ( framerate superior on firmware v34 v35 to firmware v11)
  • corrected bug for firmwares superior to v11 that does not handle rate and resolution to 200dpi 8count/mm

  • v0.3 :
  • Added 3 fingers tap/window move
  • Added 4 fingers swipe

  • v0.2:
  • smoothed mouse moves

  • v0.1:
  • first release : basic features => tap to click, 2 fingers scrolling

About

Cypress PS2 driver integration into Rehabman's VoodooPS2Controller Kext

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published