summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-03-24 12:48:28 +0000
committerDave Chapman <dave@dchapman.com>2006-03-24 12:48:28 +0000
commitb1cd32913dcd9bba7960c1f8f3b384ee1ff5a259 (patch)
treee83bc39a34e272bca5763d39be597e96c38e09f8 /apps
parentf12a576dfc7f2fa29b1750f3c9e7534eb8568616 (diff)
downloadrockbox-b1cd32913dcd9bba7960c1f8f3b384ee1ff5a259.zip
rockbox-b1cd32913dcd9bba7960c1f8f3b384ee1ff5a259.tar.gz
rockbox-b1cd32913dcd9bba7960c1f8f3b384ee1ff5a259.tar.bz2
rockbox-b1cd32913dcd9bba7960c1f8f3b384ee1ff5a259.tar.xz
Build chessbox for the X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9226 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/Makefile2
-rw-r--r--apps/plugins/chessbox/chessbox.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index b591432..54917ab 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -71,7 +71,7 @@ endif
# chessbox is too big to fit in the 32KB Archos plugin buffer, so we only
# build for IRIVER and IPOD targets
-ifneq (,$(strip $(foreach tgt,RECORDER ONDIO IRIVER IPOD GIGABEAT,$(findstring $(tgt),$(TARGET)))))
+ifneq (,$(strip $(foreach tgt,RECORDER ONDIO IRIVER IPOD IAUDIO GIGABEAT,$(findstring $(tgt),$(TARGET)))))
ifneq (-DIRIVER_IFP7XX,$(TARGET))
SUBDIRS += chessbox
endif
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 17b5050..38a7c4e 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -51,14 +51,14 @@ PLUGIN_HEADER
#define CB_QUIT (BUTTON_SELECT | BUTTON_MENU)
#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
-#define CB_SELECT BUTTON_MENU
+#define CB_SELECT BUTTON_SELECT
#define CB_UP BUTTON_UP
#define CB_DOWN BUTTON_DOWN
#define CB_LEFT BUTTON_LEFT
#define CB_RIGHT BUTTON_RIGHT
#define CB_PLAY BUTTON_PLAY
#define CB_LEVEL BUTTON_REC
-#define CB_RESTART BUTTON_SELECT
+#define CB_RESTART (BUTTON_SELECT | BUTTON_PLAY)
#define CB_QUIT BUTTON_POWER
#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)