Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 09:43:43 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Apple Trackpad driver
Message-ID:  <CAB8uncaLEn4CaJv8%2BowESe_zUUK%2Bgem_bXpEjhsOJE69m_fWAg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
I have a working trackpad driver  for my MBP 2013, I am not  C programmer
usually,
so the code may ugly. If someone like to test, you can download it from
http://sw.gddsn.org.cn/freebsd/wsp-140129.tar.gz,
I only test it on MBP2012 and MBP2013. Right now the driver have these
feature:

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

Cheers,

Huang Wen Hui



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncaLEn4CaJv8%2BowESe_zUUK%2Bgem_bXpEjhsOJE69m_fWAg>