Home
last modified time | relevance | path

Searched refs:keyboard_fd (Results 1 – 6 of 6) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsevents.c145 return((keyboard_fd >= 0) && (saved_kbd_mode >= 0)); in GS_InGraphicsMode()
153 if ( (keyboard_fd >= 0) && !GS_InGraphicsMode(this) ) { in GS_EnterGraphicsMode()
159 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 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()
168 if ( tcgetattr(keyboard_fd, &saved_kbd_termios) < 0 ) { in GS_EnterGraphicsMode()
170 if ( keyboard_fd > 0 ) { in GS_EnterGraphicsMode()
171 close(keyboard_fd); in GS_EnterGraphicsMode()
173 keyboard_fd = -1; in GS_EnterGraphicsMode()
176 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) { in GS_EnterGraphicsMode()
[all …]
DSDL_gsvideo.h50 int keyboard_fd; member
76 #define keyboard_fd (this->hidden->keyboard_fd) macro
DSDL_gsvideo.c100 keyboard_fd = -1; in GS_CreateDevice()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbevents.c152 return((keyboard_fd >= 0) && (saved_kbd_mode >= 0)); in FB_InGraphicsMode()
160 if ( (keyboard_fd >= 0) && !FB_InGraphicsMode(this) ) { in FB_EnterGraphicsMode()
166 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 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()
175 if ( tcgetattr(keyboard_fd, &saved_kbd_termios) < 0 ) { in FB_EnterGraphicsMode()
177 if ( keyboard_fd > 0 ) { in FB_EnterGraphicsMode()
178 close(keyboard_fd); in FB_EnterGraphicsMode()
180 keyboard_fd = -1; in FB_EnterGraphicsMode()
183 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) { in FB_EnterGraphicsMode()
[all …]
DSDL_fbvideo.h70 int keyboard_fd; member
114 #define keyboard_fd (this->hidden->keyboard_fd) macro
DSDL_fbvideo.c247 keyboard_fd = -1; in FB_CreateDevice()