OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mousebuf
(Results
1 - 2
of
2
) sorted by null
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbevents.c
766
static unsigned char
mousebuf
[BUFSIZ];
local
814
nread = read(mouse_fd, &
mousebuf
[start], BUFSIZ-start);
834
if ( (
mousebuf
[i] & 0xF8) != 0x80 ) {
840
button = (~
mousebuf
[i]) & 0x07;
841
dx = (signed char)(
mousebuf
[i+1]) +
842
(signed char)(
mousebuf
[i+3]);
843
dy = -((signed char)(
mousebuf
[i+2]) +
844
(signed char)(
mousebuf
[i+4]));
848
if ( (
mousebuf
[i] & 0xC0) != 0 ) {
854
button = (
mousebuf
[i] & 0x04) >> 1 | /*Middle*
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
SDL_gsevents.c
619
static unsigned char
mousebuf
[BUFSIZ];
local
629
read(mouse_fd,
mousebuf
, BUFSIZ);
649
nread = read(mouse_fd, &
mousebuf
[start], BUFSIZ-start);
663
if ( (
mousebuf
[i] & 0xF8) != 0x80 ) {
669
button = (~
mousebuf
[i]) & 0x07;
670
dx = (signed char)(
mousebuf
[i+1]) +
671
(signed char)(
mousebuf
[i+3]);
672
dy = -((signed char)(
mousebuf
[i+2]) +
673
(signed char)(
mousebuf
[i+4]));
677
if ( (
mousebuf
[i] & 0xC0) != 0 )
[
all
...]
Completed in 88 milliseconds