From fef405c3288fa43572c1ed7a1ab692ff6e190804 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Tue, 7 Apr 2009 23:41:44 +0000 Subject: Enable plugins on the Onda VX747 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/superdom.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugins/superdom.c') diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index 31f04b3..8762186 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c @@ -63,7 +63,7 @@ char buf[255]; #define ICON_HEIGHT 10 #define ICON_WIDTH 10 -#elif (LCD_WIDTH == 240 && LCD_HEIGHT == 320) +#elif (LCD_WIDTH == 240 && (LCD_HEIGHT == 320 || LCD_HEIGHT == 400)) #define NUM_BOX_HEIGHT 25 #define NUM_BOX_WIDTH 30 #define STRIDE 18 @@ -141,6 +141,9 @@ char buf[255]; #define SUPERDOM_RIGHT BUTTON_RIGHT #define SUPERDOM_CANCEL BUTTON_BACK +#elif CONFIG_KEYPAD == ONDAVX747_PAD +#define SUPERDOM_CANCEL BUTTON_POWER + #endif #ifdef HAVE_TOUCHSCREEN -- cgit v1.1