I have a working trackpad driver  for my MBP 2013, I am not  C programmer
so the code may ugly. If someone like to test, you can download it from
I only test it on MBP2012 and MBP2013. Right now the driver have these

1. Vertical scrolling with 2 fingers movement,
2. In firefox, 2 fingers horizontal movement act as page back/forward.
3. one finger tap act as left mouse click, 2 fingers tap act as right mouse
click, and
    three fingers tap act as middle mouse click.
4. you also use sysctl to modify some parameters:
hw.usb.wsp.scale_factor: 12
hw.usb.wsp.z_factor: 5
hw.usb.wsp.pressure_touch_threshold: 50
hw.usb.wsp.pressure_untouch_threshold: 10
hw.usb.wsp.pressure_tap_threshold: 120
hw.usb.wsp.scr_hor_threshold: 50


Huang Wen Hui
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to