Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
xen
mouse-wheel-roll.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mouse-wheel-roll.patch of Package xen
Index: xen-3.3.1-testing/tools/ioemu-remote/hw/usb-hid.c =================================================================== --- xen-3.3.1-testing.orig/tools/ioemu-remote/hw/usb-hid.c +++ xen-3.3.1-testing/tools/ioemu-remote/hw/usb-hid.c @@ -551,6 +551,8 @@ static int usb_pointer_poll(USBHIDState e = &s->queue[s->head]; dz = int_clamp(e->dz, -127, 127); + if(dz) + e->dz = 0; if (s->xyrel) { dx = int_clamp(e->xdx, -127, 127); @@ -593,7 +595,6 @@ static int usb_pointer_poll(USBHIDState case USB_TABLET: /* Appears we have to invert the wheel direction */ - dz = 0 - dz; buf[0] = b; buf[1] = dx & 0xff;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor