summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/android/app/button-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/android/app/button-application.c')
-rw-r--r--firmware/target/hosted/android/app/button-application.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/app/button-application.c b/firmware/target/hosted/android/app/button-application.c
index 1586183f6f..65aff1a1a9 100644
--- a/firmware/target/hosted/android/app/button-application.c
+++ b/firmware/target/hosted/android/app/button-application.c
@@ -39,6 +39,10 @@ int key_to_button(int keyboard_key)
return BUTTON_MENU;
case KEYCODE_DPAD_CENTER:
return BUTTON_DPAD_CENTER;
+ case KEYCODE_VOLUME_UP:
+ return BUTTON_VOL_UP;
+ case KEYCODE_VOLUME_DOWN:
+ return BUTTON_VOL_DOWN;
default:
return BUTTON_NONE;
}