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 stat

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