summaryrefslogtreecommitdiff
path: root/apps/plugins/pegbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r--apps/plugins/pegbox.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index b700051081..a84b687763 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -711,7 +711,11 @@ CONFIG_KEYPAD == MROBE500_PAD
711#define LVL_UP_TEXT "VOL+" 711#define LVL_UP_TEXT "VOL+"
712#define LVL_DOWN_TEXT "VOL-" 712#define LVL_DOWN_TEXT "VOL-"
713 713
714#elif defined(HAVE_TOUCHSCREEN) 714#else
715#error "Unsupported keymap!"
716#endif
717
718#if defined(HAVE_TOUCHSCREEN)
715#ifndef PEGBOX_QUIT 719#ifndef PEGBOX_QUIT
716#define PEGBOX_QUIT BUTTON_TOPLEFT 720#define PEGBOX_QUIT BUTTON_TOPLEFT
717#endif 721#endif
@@ -754,8 +758,6 @@ CONFIG_KEYPAD == MROBE500_PAD
754#ifndef LVL_DOWN_TEXT 758#ifndef LVL_DOWN_TEXT
755#define LVL_DOWN_TEXT "BOTTOMRIGHT" 759#define LVL_DOWN_TEXT "BOTTOMRIGHT"
756#endif 760#endif
757#else
758#error Unsupported keymap!
759#endif 761#endif
760 762
761/* get several sizes from the bitmaps */ 763/* get several sizes from the bitmaps */