summaryrefslogtreecommitdiffstats
path: root/apps/plugins/vu_meter.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2018-03-02 21:53:55 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-12 10:31:15 +0200
commitfbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch)
treee4bf533e945a03887620361ad110b3612321d67d /apps/plugins/vu_meter.c
parent0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff)
downloadrockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz
rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.bz2
rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r--apps/plugins/vu_meter.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index 12cc127002..8c80066c67 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -409,6 +409,18 @@
#define LABEL_QUIT "Power"
#define LABEL_MENU "Menu"
+#elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD
+#define VUMETER_QUIT (BUTTON_POWER|BUTTON_REL)
+#define VUMETER_MENU BUTTON_SELECT
+#define VUMETER_UP BUTTON_VOLUP
+#define VUMETER_DOWN BUTTON_VOLDOWN
+#define VUMETER_HELP BUTTON_UP
+#define LABEL_QUIT "Power"
+#define LABEL_MENU "Select"
+#define LABEL_HELP "Up"
+#define LABEL_VOLUME "Vol Up/Down"
+#define LABEL_MENU "Select"
+
#else
#error No keymap defined!
#endif