qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-input: send rel-wheel events for wheel b


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [PATCH] virtio-input: send rel-wheel events for wheel buttons
Date: Mon, 21 Aug 2017 09:51:30 -0400 (EDT)

Hi

----- Original Message -----
> On Wed, 2017-08-09 at 00:47 +0200, Marc-André Lureau wrote:
> > qemu uses wheel-up/down button events for mouse wheel input, however
> > linux applications typically want REL_WHEEL events.
> 
> --verbose please.
> 
> Both should work just fine.

I haven't done extensive review of all input code on linux, but from what I 
remember the event got dropped here:

https://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/tree/src/evdev.c#n2720

It seems BTN_GEAR isn't clearly defined either.

Perhaps libinput does a better job at mapping the event, but we should consider 
older guests. Spice agent is using rel-wheel events, and we never had issues 
with it.

thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]