New VoodooPS2Trackpad emulates Magic Trackpad II using macOS native driver instead of handling all gestures itself. This enables the use of any from one to three finger gestures defined by Apple including:
- Look up & data detectors
- Secondary click (with two fingers, in bottom left corner*, in bottom right corner*)
- Tap to click
- Zoom in or out
- Smart zoom
- Swipe between pages
- Swipe between full-screen apps (only with three fingers)
- Notification Centre
- Mission Control (only with three fingers)
- App Exposé (only with three fingers)
- Dragging with or without drag lock (configured in ‘Universal Access’ prefpane)
- Three finger drag (configured in ‘Universal Access’ prefpane, may work unreliably**)
It also should support BetterTouchTool (not tested).
In addition this kext supports Force Touch emulation (configured in
- Mode 0 – Force Touch emulation is disabled (you can also disable it in System Preferences without setting the mode).
- Mode 1 – Force Touch emulation using a physical button: on touchpads which have the whole surface clickable (the physical button is inside the computer under the bottom of touchpad), the physical button can be remapped to Force Touch. In such mode a tap is a regular click, if Tap to click gesture is enabled in System Preferences, and a click is a Force Touch. This mode is convenient for people who usually tap on the touchpad, not click.
- Mode 2 – ‘wide tap’: for Force Touch one needs to increase the area of a finger touching the touchpad***. The necessary width can be set in
- Mode 3 shouldn’t be used.
Installation and compilation
For VoodooPS2Trackpad.kext to work multitouch interface engine, named VoodooInput.kext, is required.
- For released binaries a compatible version of VoodooInput.kext is already included in the PlugIns directory.
- For custom compiled versions VoodooInput.kext bootstrapping is required prior to compilation. By default Xcode project will do this automatically. If you prefer to have your own control over the process execute the following command in the project directory to have VoodooInput bootstrapped:
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/VoodooInput/master/VoodooInput/Scripts/bootstrap.sh) && eval "$src" || exit 1
- VoodooPS2Controller etc. – turbo, mackerintel, @RehabMan, nhand42, phb, Chunnan, jape, bumby (see RehabMan’s repository).
- Magic Trackpad 2 reverse engineering and implementation – https://github.com/alexandred/VoodooI2C project team.
- VoodooPS2Trackpad integration – @kprinssu.
- Force Touch emulation and finger renumbering algorithm** – @usr-sse2.
* On my touchpad this gesture was practically impossible to perform with the old VoodooPS2Trackpad. Now it works well.
** Due to the limitations of PS/2 bus, Synaptics touchpad reports only the number of fingers and coordinates of two of them to the computer. When there are two fingers on the touchpad and third finger is added, a ‘jump’ may happen, because the coordinates of one of the fingers are replaced with the coordinates of the added finger. Finger renumbering algorithm estimates the distance from old coordinates to new ones in order to hide this ‘jump’ from the OS and to calculate approximate position of the ‘hidden’ finger, in assumption that fingers move together in parallel to each other.
*** The touchpad reports both finger width (ranged from 4 to 15) and pressure (ranged from 0 to 255), but in practice the measured width is almost always 4, and the reported pressure depends more on actual touch width than on actual pressure.
ps2rst=0boot-arg for select CFL laptop compatibility
- Added compatibility with VoodooInput 1.0.4
- VoodooInput is now bundled with VoodooPS2