Searched refs:current_vt (Results 1 – 4 of 4) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
D | SDL_gsvideo.h | 48 int current_vt; member 74 #define current_vt (this->hidden->current_vt) macro
|
D | SDL_gsevents.c | 156 if ( current_vt > 0 ) { in GS_EnterGraphicsMode() 162 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in GS_EnterGraphicsMode() 163 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in GS_EnterGraphicsMode() 251 ioctl(tty0_fd, VT_OPENQRY, ¤t_vt); in GS_OpenKeyboard() 253 if ( (geteuid() == 0) && (current_vt > 0) ) { in GS_OpenKeyboard() 257 SDL_snprintf(vtpath, SDL_arraysize(vtpath), vcs[i], current_vt); in GS_OpenKeyboard() 278 current_vt = 0; in GS_OpenKeyboard() 282 fprintf(stderr, "Current VT: %d\n", current_vt); in GS_OpenKeyboard()
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbvideo.h | 68 int current_vt; member 112 #define current_vt (this->hidden->current_vt) macro
|
D | SDL_fbevents.c | 163 if ( current_vt > 0 ) { in FB_EnterGraphicsMode() 169 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in FB_EnterGraphicsMode() 170 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in FB_EnterGraphicsMode() 261 ioctl(tty0_fd, VT_OPENQRY, ¤t_vt); in FB_OpenKeyboard() 263 if ( (geteuid() == 0) && (current_vt > 0) ) { in FB_OpenKeyboard() 267 SDL_snprintf(vtpath, SDL_arraysize(vtpath), vcs[i], current_vt); in FB_OpenKeyboard() 293 current_vt = vtstate.v_active; in FB_OpenKeyboard() 295 current_vt = 0; in FB_OpenKeyboard() 299 fprintf(stderr, "Current VT: %d\n", current_vt); in FB_OpenKeyboard() 1052 vtstate.v_active == current_vt ) { in FB_PumpEvents()
|