Re: Apple Trackpad driver

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Tue, 28 Jan 2014 21:13:56 -0800
holy crap, cool!

Hans? Any chance we could get this into -HEAD?


-a


On 28 January 2014 17:43, Huang Wen Hui <huanghwh_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jan 29 2014 - 04:13:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC