WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel][PATCH][LINUX] Decode mouse dz event

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH][LINUX] Decode mouse dz event
From: "Pat Campbell" <plc@xxxxxxxxxx>
Date: Mon, 10 Dec 2007 07:08:52 -0700
Delivery-date: Mon, 10 Dec 2007 06:09:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C382F55F.19AB5%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <475CDB84.3E48.0018.0@xxxxxxxxxx> <C382F55F.19AB5%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
<Keir.Fraser@xxxxxxxxxxxx> wrote: 
> Applied.
> 
> Can the frontend driver be sure that the dz field will have a sane value
> with older backends that do not support the field? Or should this new field
> be advertised via xenstore?
> 

Patch is backwards compatible.  Packet size has not changed and packet was 
fortunately zero filled in the older code before setting the position values.  
Newer 
frontend coupled with an older backend will always see dz as zero, no wheel 
event.

Pat

>  --  Keir
> 
> On 10/12/07 13:27, "Pat Campbell" <plc@xxxxxxxxxx> wrote:
> 
>> 
>> Decodes mouse event packet dz value and passes it as a wheel event into
>> the input stream.
>> 
>> Please apply to linux- 2.6.18- xen
>> 
>> Signed-    off-    by: Pat Campbell <plc@xxxxxxxxxx>
>> 
>> 
>> 
>> _______________________________________________
>> Xen- devel mailing list
>> Xen- devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen- devel




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>