HomeSort by relevance Sort by last modified time
    Searched refs:mousebuf (Results 1 - 4 of 4) sorted by null

  /external/qemu/distrib/sdl-1.2.15/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 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 110 milliseconds