Displaying 2 results from an estimated 2 matches for "sdl_button_wheelup".
2008 Mar 05
0
[PATCH] ioemu: fix SDL mouse events processing
...start();
}
} else {
- int dx, dy, dz, state;
+ int dz;
dz = 0;
- state = SDL_GetRelativeMouseState(&dx, &dy);
+ state |= SDL_BUTTON(bev->button);
#ifdef SDL_BUTTON_WHEELUP
if (bev->button == SDL_BUTTON_WHEELUP) {
dz = -1;
} else if (bev->button == SDL_BUTTON_WHEELDOWN) {
dz = 1;
- } else {
- state = bev->button | state;...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and