diff options
author | Jesse Hall <jessehall@google.com> | 2012-07-17 16:58:55 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-07-23 19:59:14 -0700 |
commit | d8239786b306ffda6d5d73753d01f0ad3358e1a0 (patch) | |
tree | b6b2aa300fc08f7fa20d545a7255d4a9a748d282 /distrib/sdl-1.2.12/src/video/fbcon/out | |
parent | 4b0ca3716e04e4b445fd987e877f07bba6ce06cd (diff) | |
download | external_qemu-d8239786b306ffda6d5d73753d01f0ad3358e1a0.zip external_qemu-d8239786b306ffda6d5d73753d01f0ad3358e1a0.tar.gz external_qemu-d8239786b306ffda6d5d73753d01f0ad3358e1a0.tar.bz2 |
Delete sdl-1.2.12
Change-Id: Ia96f80df04035ae84be3af468c945f2cec14f99c
Diffstat (limited to 'distrib/sdl-1.2.12/src/video/fbcon/out')
-rw-r--r-- | distrib/sdl-1.2.12/src/video/fbcon/out | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/distrib/sdl-1.2.12/src/video/fbcon/out b/distrib/sdl-1.2.12/src/video/fbcon/out deleted file mode 100644 index 1af0645..0000000 --- a/distrib/sdl-1.2.12/src/video/fbcon/out +++ /dev/null @@ -1,29 +0,0 @@ -Index: SDL_fbevents.c -=================================================================== ---- SDL_fbevents.c (revision 2338) -+++ SDL_fbevents.c (working copy) -@@ -55,6 +55,7 @@ - #define GPM_NODE_FIFO "/dev/gpmdata" - #endif - -+/*#define DEBUG_KEYBOARD*/ - /*#define DEBUG_MOUSE*/ - - /* The translation tables from a console scancode to a SDL keysym */ -@@ -281,8 +282,15 @@ - } - if ( keyboard_fd < 0 ) { - /* Last resort, maybe our tty is a usable VT */ -- current_vt = 0; -+ struct vt_stat vtstate; -+ - keyboard_fd = open("/dev/tty", O_RDWR); -+ -+ if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 0 ) { -+ current_vt = vtstate.v_active; -+ } else { -+ current_vt = 0; -+ } - } - #ifdef DEBUG_KEYBOARD - fprintf(stderr, "Current VT: %d\n", current_vt); |