OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mousebuf
(Results
1 - 4
of
4
) sorted by null
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbelo.h
47
int eloParsePacket(unsigned char*
mousebuf
, int* dx, int* dy, int* button_state);
SDL_fbelo.c
81
int eloParsePacket(unsigned char*
mousebuf
, int* dx, int* dy, int* button_state) {
88
if (
mousebuf
[1] != ELO_TOUCH_BYTE) {
92
x = ((
mousebuf
[4] << 8) |
mousebuf
[3]);
93
y = ((
mousebuf
[6] << 8) |
mousebuf
[5]);
96
*dx = ((
mousebuf
[4] << 8) |
mousebuf
[3]);
97
*dy = ((
mousebuf
[6] << 8) |
mousebuf
[5])
[
all
...]
SDL_fbevents.c
761
static unsigned char
mousebuf
[BUFSIZ];
local
774
read(mouse_fd,
mousebuf
, BUFSIZ);
811
nread = read(mouse_fd, &
mousebuf
[start], BUFSIZ-start);
825
if ( (
mousebuf
[i] & 0xF8) != 0x80 ) {
831
button = (~
mousebuf
[i]) & 0x07;
832
dx = (signed char)(
mousebuf
[i+1]) +
833
(signed char)(
mousebuf
[i+3]);
834
dy = -((signed char)(
mousebuf
[i+2]) +
835
(signed char)(
mousebuf
[i+4]));
839
if ( (
mousebuf
[i] & 0xC0) != 0 )
[
all
...]
/external/qemu/distrib/sdl-1.2.12/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 43 milliseconds