Skip to content

pauby/mac-precision-touchpad

 
 

Repository files navigation

Windows Precision Touchpad Implementation for Apple MacBook family/Magic Trackpad 2

Build Status

This project implements Windows Precision Touchpad Protocol for Apple MacBook family/Magic Trackpad 2 on Windows 10. Both USB (traditional and T2) and SPI trackpads are supported.

If you like my work, please consider buying me a coffee. Also I am going to graduate, so any referral for full time opportunities are also appreciated. Thank you for your support!

Buy Me A Coffee

Or PayPal

Future Plans and feature tracking

Use the Azure DevOps Board to track feature and device support plans. Bug reports should go to Github issues.

See it in action (YouTube video)

Watch the video

Converged Installation Guide

  1. Go to the release tab in Github and download the newest version for your architecture
  2. Right click AmtPtpDevice.inf and install it

Note: it is unnecessary to enable test signing, or install the certificate manually. Doing so may cause problems in installation. See this issue for detailed explanation.

Also Uninstallation

  1. Go to device manager
  2. Find the "Apple Precision Touch Device"
  3. Right click "remove the device" and also check "uninstall driver"
  4. Rescan devices

Installation with Chocolatey

The drivers are available as a Chocolatey package. To install using Chocolatey run:

choco install mac-precision-touchpad

For developers

  • SPI/T2 version is kernel-mode driver, using KMDF Framework v1.23. Windows 10 Driver Development Kit Version 1903 is required for development and testing.
  • USB version is a user-mode driver, using UMDF Framework v2.15. Windows 10 Driver Development Kit Version 1903 is required for development and testing.

Device support

There is a bring-up issue for certain MacBook Pro and MacBook Air. I am looking into it. If you have such device with Windows installed, please contact me so I can look into the issue remotely (as I don't have many devices).

  • Non-Retina MacBook
  • Some non-Retina MacBook Pro (2011 and 2012)
  • MacBook Pro with Retina Display (MacBookPro 10,1, MacBookPro10,2 & MacBookPro11,1)
  • All recent MacBook Air (Please report if your model is not supported)
  • MacBook Pro with Retina Display (2013, 2014, 2015, 13-inch & 15-inch)
  • New MacBook (12-inch)
  • MacBook Pro 2015, 2016, 2017 (a few SPI devices are in work-in-progress state)
  • T2-based devices: MacBook Air 2018, MacBook Pro 2017/2018/2019/2020: Use default fallback, experience might not be optimal. Open a issue if you encountered dead touch regions.
  • Magic Trackpad 2 (USB)
  • Magic Trackpad 2 ( Bluetooth connection)

Roadmap

  • Touchpad Device Power Management
  • Touchpad Protocol Stack Implementation
  • Touchpad Raw Input Output (in Driver Trace)
  • HID Protocol Implementation (PTP Touch)
  • HID Protocol Implementation (Configuration)
  • Device Test (Magic Trackpad 2)
  • Refine input experience (tip switch detection and pressure)
  • Refine input experience (gesture experience)
  • More Models (I need donation)
  • SPI
  • KM Driver cross-cert
  • Bluetooth
  • Defuzz
  • Input sensitivity configuration

Acknowledgements

People familiar with me know that I don't use Apple MacBook (so development work of this driver occurs on a Surface Pro 4). People probably think it doesn't make sense that I started this project. The motivation behind this project origin from complaints from my girlfriend. Hearing about frequent complains about Dell XPS 13's touchpad (though it passed Precision Touchpad certification), I decided to start this project, so by the time she switches to MacBook Pro, she will have excellent touchpad experience out-of-box, even on Windows. This driver is made for you, but also for everyone.

I would like to thank projects like magictrackpad2-dkms and macbook12-spi-driver that inspire me. I would also like to thank my friends for providing me immense help on devices and testing.

License

  • USB driver is licensed under GPLv2.
  • SPI driver is licensed under MIT.

About

Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.md
GPL-2.0
LICENSE-GPL.md
MIT
LICENSE-MIT.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.4%
  • C# 4.8%
  • PowerShell 1.8%