diff options
author | Doug Zongker <dougz@android.com> | 2009-06-09 12:22:33 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-11 14:50:33 -0700 |
commit | ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69 (patch) | |
tree | a991238ca9fd1299d295d6229df882585ca0c659 /minui | |
parent | d9d9d1785ac1cce150010390a17188bea42a7a58 (diff) | |
download | bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.zip bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.gz bootable_recovery-ddd6a2865db5c73a4bb9d486f71a8c2f1f96ec69.tar.bz2 |
split out device-specific recovery UI code into vendor directories
Take some device-specific details of the recovery UI (eg, what keys to
press to bring up the interface and perform actions, exact text of the
menu, etc.) and split them out into separate C functions. Arrange to
take implementations of those functions from the appropriate vendor
directory at build time. Provide a default implementation in case no
vendor-specific one is available.
Diffstat (limited to 'minui')
-rw-r--r-- | minui/minui.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/minui/minui.h b/minui/minui.h index 80b47a4..567d421 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); |