summaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c6
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;
}
}