From owner-freebsd-current@FreeBSD.ORG Fri Jan 31 07:15:18 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B8B17F6; Fri, 31 Jan 2014 07:15:18 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4729A11AB; Fri, 31 Jan 2014 07:15:17 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 996D417FC54; Fri, 31 Jan 2014 08:15:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 76F538F90AB; Fri, 31 Jan 2014 08:16:08 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FVdm5xXNHXhi; Fri, 31 Jan 2014 08:16:07 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 618D28F8FE9; Fri, 31 Jan 2014 08:16:07 +0100 (CET) Message-ID: <52EB4DBE.20501@bitfrost.no> Date: Fri, 31 Jan 2014 08:16:14 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: huanghwh@gmail.com Subject: Re: Apple Trackpad driver References: <52E8DDA3.3070301@bitfrost.no> <52E9F546.9090005@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kwm@freebsd.org" , Adrian Chadd , freebsd-current , "Lundberg, Johannes" , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 07:15:18 -0000 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 or > ntouch changing. > > Cheers, > > Huang Wen Hui Hi, http://svnweb.freebsd.org/changeset/base/261315 --HPS