diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-11-15 21:05:33 +0100 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-11-15 21:05:33 +0100 |
commit | b2ce982d432338d36a41bd57e35a14459fc3d30b (patch) | |
tree | 7fd574307953a0bbde499194ab4006a7cae3f8b9 /minui | |
parent | merge from donut (diff) | |
parent | eclair snapshot (diff) | |
download | android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.gz android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.bz2 android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.lz android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.xz android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.zst android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.zip |
Diffstat (limited to 'minui')
-rw-r--r-- | minui/graphics.c | 1 | ||||
-rw-r--r-- | minui/minui.h | 16 |
2 files changed, 1 insertions, 16 deletions
diff --git a/minui/graphics.c b/minui/graphics.c index 06c5fdfcd..adbfc09da 100644 --- a/minui/graphics.c +++ b/minui/graphics.c @@ -115,6 +115,7 @@ static void set_active_framebuffer(unsigned n) if (n > 1) return; vi.yres_virtual = vi.yres * 2; vi.yoffset = n * vi.yres; + vi.bits_per_pixel = 16; if (ioctl(gr_fb_fd, FBIOPUT_VSCREENINFO, &vi) < 0) { perror("active fb swap failed"); } diff --git a/minui/minui.h b/minui/minui.h index 80b47a47f..567d42157 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -41,22 +41,6 @@ unsigned int gr_get_height(gr_surface surface); // see http://www.mjmwired.net/kernel/Documentation/input/ for info. struct input_event; -// Dream-specific key codes -#define KEY_DREAM_HOME 102 // = KEY_HOME -#define KEY_DREAM_RED 107 // = KEY_END -#define KEY_DREAM_VOLUMEDOWN 114 // = KEY_VOLUMEDOWN -#define KEY_DREAM_VOLUMEUP 115 // = KEY_VOLUMEUP -#define KEY_DREAM_SYM 127 // = KEY_COMPOSE -#define KEY_DREAM_MENU 139 // = KEY_MENU -#define KEY_DREAM_BACK 158 // = KEY_BACK -#define KEY_DREAM_FOCUS 211 // = KEY_HP (light touch on camera) -#define KEY_DREAM_CAMERA 212 // = KEY_CAMERA -#define KEY_DREAM_AT 215 // = KEY_EMAIL -#define KEY_DREAM_GREEN 231 -#define KEY_DREAM_FATTOUCH 258 // = BTN_2 ??? -#define KEY_DREAM_BALL 272 // = BTN_MOUSE -#define KEY_DREAM_TOUCH 330 // = BTN_TOUCH - int ev_init(void); void ev_exit(void); int ev_get(struct input_event *ev, unsigned dont_wait); |