/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
SDL_gsevents.c | 145 return((keyboard_fd >= 0) && (saved_kbd_mode >= 0)); 153 if ( (keyboard_fd >= 0) && !GS_InGraphicsMode(this) ) { 159 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 0 ) { 162 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { 163 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); 168 if ( tcgetattr(keyboard_fd, &saved_kbd_termios) < 0 ) { 170 if ( keyboard_fd > 0 ) { 171 close(keyboard_fd); 173 keyboard_fd = -1; 176 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) [all...] |
SDL_gsvideo.h | 50 int keyboard_fd; member in struct:SDL_PrivateVideoData 76 #define keyboard_fd (this->hidden->keyboard_fd) macro
|
SDL_gsvideo.c | 100 keyboard_fd = -1;
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbevents.c | 152 return((keyboard_fd >= 0) && (saved_kbd_mode >= 0)); 160 if ( (keyboard_fd >= 0) && !FB_InGraphicsMode(this) ) { 166 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 0 ) { 169 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { 170 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); 175 if ( tcgetattr(keyboard_fd, &saved_kbd_termios) < 0 ) { 177 if ( keyboard_fd > 0 ) { 178 close(keyboard_fd); 180 keyboard_fd = -1; 183 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) [all...] |
SDL_fbvideo.h | 70 int keyboard_fd; member in struct:SDL_PrivateVideoData 114 #define keyboard_fd (this->hidden->keyboard_fd) macro
|
SDL_fbvideo.c | 247 keyboard_fd = -1; [all...] |