Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262806AbVBBWGf (ORCPT ); Wed, 2 Feb 2005 17:06:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262823AbVBBWGe (ORCPT ); Wed, 2 Feb 2005 17:06:34 -0500 Received: from rproxy.gmail.com ([64.233.170.196]:38555 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S262806AbVBBWGN (ORCPT ); Wed, 2 Feb 2005 17:06:13 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GjS/U/S8E27q7edzCvydfPCSAkEWCH6pRx2GtTncWf20JfZhqORtYO5YcLnNGru6019Rvc38xEsKrYrTkxyZHrIdIpezomLyLGXDM8DXes2ARe4KLrYW6CacefHX6UyXGucaPw8cXldy5FPG6EAzr51IxQCf6VqTBFweCPFJePw= Message-ID: Date: Wed, 2 Feb 2005 17:06:09 -0500 From: Dmitry Torokhov Reply-To: dtor_core@ameritech.net To: Peter Osterlund Subject: Re: Touchpad problems with 2.6.11-rc2 Cc: Pete Zaitcev , vojtech@suse.cz, linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050123190109.3d082021@localhost.localdomain> <20050201234148.4d5eac55@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 19 On Wed, 02 Feb 2005 13:52:03 -0800 (PST), Peter Osterlund wrote: > > if (mousedev->touch) { > + size = dev->absmax[ABS_X] - dev->absmin[ABS_X]; > + if (size == 0) size = xres; Sorry, missed this piece first time around. Since we don't want to rely on screen size anymore I think we should set size = 256 * FRACTION_DENOM / 2 if device limits are not set up to just report raw coords. What do you think? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/