From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSerb-0006Kw-Q4 for qemu-devel@nongnu.org; Thu, 29 Jan 2009 16:55:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSera-0006Ju-Vq for qemu-devel@nongnu.org; Thu, 29 Jan 2009 16:55:55 -0500 Received: from [199.232.76.173] (port=51441 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSera-0006JY-N0 for qemu-devel@nongnu.org; Thu, 29 Jan 2009 16:55:54 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:51053) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSerZ-0002Yo-Qo for qemu-devel@nongnu.org; Thu, 29 Jan 2009 16:55:54 -0500 Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 4A5B2E08060 for ; Thu, 29 Jan 2009 22:55:49 +0100 (CET) Received: from laptop (vaf26-2-82-244-111-82.fbx.proxad.net [82.244.111.82]) by smtp6-g21.free.fr (Postfix) with ESMTP id 1FCF7E080A7 for ; Thu, 29 Jan 2009 22:55:47 +0100 (CET) In-Reply-To: <200901292058.n0TKwRwG044115@saturn.kn-bremen.de> Subject: Re: [Qemu-devel] vmmouse From: "=?utf-8?q?Fran=C3=A7ois?= Revol" Date: Thu, 29 Jan 2009 22:56:35 +0100 CET Message-Id: <4824726476-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 > >Perhaps this is a separate issue, but when I "usb=5Fadd tablet" the > mouse cursor > >becomes constrained to the upper left corner of the guests' screen. Oddly it's the same symptoms as in Haiku with the wacom emulation... In the wacom code coordinates are scaled to [0:INT16=5FMAX] which is wrong, the PenPartner model it's emulating has max X of like 5040, and max Y of 3780. Though the tablet emulation in usb-hid.c does publish an HID report desc with X and Y max as 0x7fff, so it should work, unless the windows hid driver is actually ignoring those maximum values and just using them unscaled, in which case it'd actually stay near 0,0 as it does... You can try applying my wacom patch: http://article.gmane.org/gmane.comp.emulators.qemu/36877/match=3Dwacom and use -usb wacom and see if it works for you. Not sure if windows has a wacom driver by default though... Btw, I still didn't have any comment on that wacom diff... Fran=C3=A7ois.