Date: Tue, 28 Jan 2014 21:13:56 -0800 From: Adrian Chadd <adrian@freebsd.org> To: =?UTF-8?B?6buE5paH6L6J?= <huanghwh@gmail.com>, "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>, Hans Petter Selasky <hps@bitfrost.no> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: Apple Trackpad driver Message-ID: <CAJ-Vmon4Gk6bqoT%2BJf-bRxE0%2BNJ1NjR0wjum-HjoVFDN-2e=8Q@mail.gmail.com> In-Reply-To: <CAB8uncaLEn4CaJv8%2BowESe_zUUK%2Bgem_bXpEjhsOJE69m_fWAg@mail.gmail.com> References: <CAB8uncaLEn4CaJv8%2BowESe_zUUK%2Bgem_bXpEjhsOJE69m_fWAg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
holy crap, cool! Hans? Any chance we could get this into -HEAD? -a On 28 January 2014 17:43, Huang Wen Hui <huanghwh@gmail.com> wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmon4Gk6bqoT%2BJf-bRxE0%2BNJ1NjR0wjum-HjoVFDN-2e=8Q>