From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BM6KZ-000543-3K for qemu-devel@nongnu.org; Fri, 07 May 2004 10:28:03 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BM6K2-0004su-GH for qemu-devel@nongnu.org; Fri, 07 May 2004 10:28:01 -0400 Received: from [38.113.3.51] (helo=snickers.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BM6K1-0004rs-Um for qemu-devel@nongnu.org; Fri, 07 May 2004 10:27:30 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by snickers.hotpop.com (Postfix) with SMTP id 60F6273F08 for ; Fri, 7 May 2004 13:39:09 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp02555028pcs.batlfl01.tn.comcast.net [68.60.22.179]) by smtp-3.hotpop.com (Postfix) with ESMTP id 38A83F5677E for ; Fri, 7 May 2004 14:11:18 +0000 (UTC) Date: Fri, 7 May 2004 10:26:03 -0400 From: "Jim C. Brown" Message-ID: <20040507142603.GA19412@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] synaptic touchpad 4.x Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm writing the code in it. Is there any specific model to base the emulation on? Right now I'm just writing a very basic touchpad, no enhanced capabilities supported. Touchpad version is 4.0 (the major version needs to be >= 4 in order to have the drivers work correctly, based on the specs that I have). It's easier than I thought. Of course, it appears that the standard touchpad doesn't support the Z axis (i.e. no 3rd mouse button/scroll wheel). There is a Z value in the packet, but its for finger pressure... could this be used to emulate a scroll wheel? What is finger pressure normally used for? I also need to know what s->mouse_type should be set to for a Synaptic Touchpad, 4.x model. Right now I've left it to the default. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.