Skip to content
  • Gerd Hoffmann's avatar
    f4924974
    virtio-input: send rel-wheel events for wheel buttons · f4924974
    Gerd Hoffmann authored
    
    
    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.
    
    Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Message-id: 20170926113243.26081-1-kraxel@redhat.com
    f4924974
    virtio-input: send rel-wheel events for wheel buttons
    Gerd Hoffmann authored
    
    
    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.
    
    Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Message-id: 20170926113243.26081-1-kraxel@redhat.com
Loading