From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMACE-0006C9-3X for qemu-devel@nongnu.org; Fri, 07 May 2004 14:35:42 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMABh-00063K-4U for qemu-devel@nongnu.org; Fri, 07 May 2004 14:35:41 -0400 Received: from [38.113.3.61] (helo=babyruth.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMABg-00063B-Ro for qemu-devel@nongnu.org; Fri, 07 May 2004 14:35:09 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by babyruth.hotpop.com (Postfix) with SMTP id BA8B94222FB for ; Fri, 7 May 2004 18:08:42 +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 6E15EF57072 for ; Fri, 7 May 2004 18:19:02 +0000 (UTC) Date: Fri, 7 May 2004 14:33:51 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] synaptic touchpad 4.x Message-ID: <20040507183351.GB20780@jbrown.mylinuxbox.org> References: <20040507142603.GA19412@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Fri, May 07, 2004 at 05:09:14PM +0200, Johannes Schindelin wrote: > Hi, > > On Fri, 7 May 2004, Jim C. Brown wrote: > > I'm writing the code in it. Is there any specific model to base the emulation on? > > Cool! I looked into qemu/pckbd.c and linux/drivers/input/mouse/synaptics.c > and decided that I would have to read up a lot in order to start it... I looked for the protocol on google and found a link to the protocol specs on the XFree86 Synaptic driver's web page. I just code, read, code, read, code, ... > > > Of course, it appears that the standard touchpad doesn't > > support the Z axis (i.e. no 3rd mouse button/scroll wheel). > > My touchpad doesn't have it either. But there are those gestures: If you > put your index finger down and slide with your ring finger, it emulates > the wheel. I don't know how this is done internally (if synaptics already > knows how to translate that, or if the driver does it), but this could be > the way to go. I haven't read through the 91-page pdf file yet, but it appears that the driver does it. Guestures are reported by the touchpad directly to the driver. I didn't look into this too clearly though and could be mistaken. I wasn't planning on supporting guestures. At least not so early. > > Do you have a patch for me to try out? > Not yet. I haven't even tried to compile it. If you want the changes I have so far, I can send you the file, but I'm not done writing the code yet. > Ciao, > Dscho > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://mail.nongnu.org/mailman/listinfo/qemu-devel -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.