On Wed, Aug 23, 2017 at 3:51 PM, Gerd Hoffmann wrote:
> qemu uses wheel-up/down button events for mouse wheel input, however
> linux applications typically want REL_WHEEL events.
>
> This fixes wheel with linux guests. Tested with X11/wayland, and
> windows virtio-input driver.
>
> Based on a patc
On Wed, 2017-08-23 at 14:38 +, Marc-André Lureau wrote:
> Hi
>
> On Wed, Aug 23, 2017 at 3:52 PM Gerd Hoffmann
> wrote:
> > qemu uses wheel-up/down button events for mouse wheel input,
> > however
> > linux applications typically want REL_WHEEL events.
> >
> > This fixes wheel with linux gue
Hi
On Wed, Aug 23, 2017 at 3:52 PM Gerd Hoffmann wrote:
> qemu uses wheel-up/down button events for mouse wheel input, however
> linux applications typically want REL_WHEEL events.
>
> This fixes wheel with linux guests. Tested with X11/wayland, and
> windows virtio-input driver.
>
> Based on a
qemu uses wheel-up/down button events for mouse wheel input, however
linux applications typically want REL_WHEEL events.
This fixes wheel with linux guests. Tested with X11/wayland, and
windows virtio-input driver.
Based on a patch from Marc.
Added property to enable/disable wheel axis.
TODO: add
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 ext
Hi,
> > .select= VIRTIO_INPUT_CFG_EV_BITS,
> > .subsel= EV_REL,
> > -.size = 1,
> > +.size = 2,
> > .u.bitmap = {
> > -(1 << REL_X) | (1 << REL_Y),
> > +(1 << REL_X) | (1 << REL_Y), (1 << (REL_WHEEL - 8))
>
>
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.
cheers,
Gerd
On Wed, Aug 09, 2017 at 12:47:50AM +0200, Marc-André Lureau wrote:
> qemu uses wheel-up/down button events for mouse wheel input, however
> linux applications typically want REL_WHEEL events.
>
> This fixes wheel with linux guests. Tested with X11/wayland, and
> windows virtio-input driver.
>
> S
qemu uses wheel-up/down button events for mouse wheel input, however
linux applications typically want REL_WHEEL events.
This fixes wheel with linux guests. Tested with X11/wayland, and
windows virtio-input driver.
Signed-off-by: Marc-André Lureau
---
hw/input/virtio-input-hid.c | 15 ++