Re: Apple Trackpad driver

2014-01-30 Thread Huang Wen Hui
Hi Hans, pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for getting dx. n var is trying to reduce untouch sensor data for post proccessing. I attach a new patch may be more clear, also fixed unexpected movement when button status or ntouch changing. Cheers, Huang Wen

Re: Apple Trackpad driver

2014-01-30 Thread Hans Petter Selasky
On 01/31/14 02:46, Huang Wen Hui wrote: Hi Hans, pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for getting dx. n var is trying to reduce untouch sensor data for post proccessing. I attach a new patch may be more clear, also fixed unexpected movement when button status

Re: Apple Trackpad driver

2014-01-29 Thread Lundberg, Johannes
Hi I tested the driver on a 2012 Macbook Air 11 and it works great! Good job! Is there a way to disable click-by-touch? I always preferred clicking with the physical button that is built in to the pad. Best regards -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, Jan 29, 2014 at 2:24

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
On 01/29/14 09:49, Lundberg, Johannes wrote: Hi I tested the driver on a 2012 Macbook Air 11 and it works great! Good job! Is there a way to disable click-by-touch? I always preferred clicking with the physical button that is built in to the pad. Hi, I've added an #if 0 around the 1 finger

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
Hi, Can you also write a manual page for the wsp driver? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: Apple Trackpad driver

2014-01-29 Thread Huang Wen Hui
Hans, Thanks for you take care of it and commit it! I found two problems: 1. The selection is not expected when selection with 2 fingers sometimes. 2. Unexpected scrolling when Click with 2 fingers. This patch can fix that. The var n modify to ntouch seems to be necessary. Cheers, Huang Wen

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
Hi Huang, On 01/30/14 06:56, Huang Wen Hui wrote: Hans, Thanks for you take care of it and commit it! I found two problems: 1. The selection is not expected when selection with 2 fingers sometimes. 2. Unexpected scrolling when Click with 2 fingers. This patch can fix that. The var n modify

Re: Apple Trackpad driver

2014-01-28 Thread Adrian Chadd
holy crap, cool! Hans? Any chance we could get this into -HEAD? -a On 28 January 2014 17:43, Huang Wen Hui huang...@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

Re: Apple Trackpad driver

2014-01-28 Thread Lundberg, Johannes
This is really good news :) I will try it on my 2012 and 2013 MBAs soon! (hopefully it is same hardware as in the pros) -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, Jan 29, 2014 at 2:13 PM, Adrian Chadd adr...@freebsd.org wrote: holy crap, cool! Hans? Any chance we could get