diff options
author | Ying Wang <wangying@google.com> | 2010-09-01 23:52:22 +0200 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2010-09-01 23:52:22 +0200 |
commit | 532c86002bb89db43094b27ec50f001ae173c650 (patch) | |
tree | 1580e8bafbe8a12d59820ef1b591b05bc093cf0b /default_recovery_ui.c | |
parent | Fix for crespo. (diff) | |
download | android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar.gz android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar.bz2 android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar.lz android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar.xz android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.tar.zst android_bootable_recovery-532c86002bb89db43094b27ec50f001ae173c650.zip |
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r-- | default_recovery_ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c index a637ae0b5..409d67934 100644 --- a/default_recovery_ui.c +++ b/default_recovery_ui.c @@ -44,15 +44,15 @@ int device_reboot_now(volatile char* key_pressed, int key_code) { int device_handle_key(int key_code, int visible) { if (visible) { switch (key_code) { - case 0x3a: + case KEY_DOWN: case KEY_VOLUMEDOWN: return HIGHLIGHT_DOWN; - case 0x2a: + case KEY_UP: case KEY_VOLUMEUP: return HIGHLIGHT_UP; - case 0x9e: + case KEY_ENTER: return SELECT_ITEM; } } |