Code Monkey home page Code Monkey logo

mac-precision-touchpad's Introduction

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 and SPI trackpads are supported.

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

T2 devices

I got my T2 MacBook Pro :) Work is in progress. Eventually all USB devices will use the km driver (not only T2).

If you like my work, please consider buying me a coffee. Thank you for your support!

Buy Me A Coffee

Or PayPal

A better installation guide

https://www.reddit.com/r/bootcamp/comments/c4alv2/how_to_install_mac_precision_touchpad_better_than/ - thank you Azmat

USB-based model Installation

  1. Go to the release tab in Github and download the newest version
  2. Open the zip and navigate to Drivers\x64\ReleaseSigned
  3. Go to AmtPtpDevice directory
  4. Right click AmtPtpDevice.inf and install it
  5. Confirm driver publisher

SPI-based model Installation

  1. Go to the release tab in Github and download the newest version
  2. Open the zip and navigate to Drivers\x64\ReleaseSigned
  3. Go to AmtPtpDeviceSpiKm directory
  4. Right click AmtPtpDeviceSpiKm.inf and install it
  5. Confirm driver publisher

Apple T2-based model Installation

  1. Disable Secure Boot as temporary mitigation: Boot with Command + R, select Startup Security Tools and disable Secure Boot (No Boot Security)
  2. Go to the release tab in Github and download the newest version
  3. Open the zip and navigate to Drivers\x64\ReleaseSigned
  4. Go to AmtPtpDeviceUsbKm directory
  5. Right click AmtPtpDeviceUsbKm.inf and install it
  6. Confirm driver publisher

For developers

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

Note: I plan to target a higher version of KMDF and drop UMDF later this year.

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)
  • Apple Magic Trackpad 2 (Not stable)
  • MacBook Pro with Retina Display (2013, 2014, 2015, 13-inch & 15-inch)
  • New MacBook (12-inch)
  • MacBook Pro 2015, 2016, 2017
  • (Work in progress) T2-based devices: MacBook Air 2018, MacBook Pro 2017/2018/2019

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

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.

mac-precision-touchpad's People

Contributors

imbushuo avatar kazenoai avatar masonbergstrom avatar nighthawk469 avatar terry2001 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.