diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/Makefile | 2 | ||||
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index b591432646..54917ab658 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -71,7 +71,7 @@ endif | |||
71 | 71 | ||
72 | # chessbox is too big to fit in the 32KB Archos plugin buffer, so we only | 72 | # chessbox is too big to fit in the 32KB Archos plugin buffer, so we only |
73 | # build for IRIVER and IPOD targets | 73 | # build for IRIVER and IPOD targets |
74 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO IRIVER IPOD GIGABEAT,$(findstring $(tgt),$(TARGET))))) | 74 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO IRIVER IPOD IAUDIO GIGABEAT,$(findstring $(tgt),$(TARGET))))) |
75 | ifneq (-DIRIVER_IFP7XX,$(TARGET)) | 75 | ifneq (-DIRIVER_IFP7XX,$(TARGET)) |
76 | SUBDIRS += chessbox | 76 | SUBDIRS += chessbox |
77 | endif | 77 | endif |
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 17b505001a..38a7c4ebb6 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c | |||
@@ -51,14 +51,14 @@ PLUGIN_HEADER | |||
51 | #define CB_QUIT (BUTTON_SELECT | BUTTON_MENU) | 51 | #define CB_QUIT (BUTTON_SELECT | BUTTON_MENU) |
52 | 52 | ||
53 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | 53 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD |
54 | #define CB_SELECT BUTTON_MENU | 54 | #define CB_SELECT BUTTON_SELECT |
55 | #define CB_UP BUTTON_UP | 55 | #define CB_UP BUTTON_UP |
56 | #define CB_DOWN BUTTON_DOWN | 56 | #define CB_DOWN BUTTON_DOWN |
57 | #define CB_LEFT BUTTON_LEFT | 57 | #define CB_LEFT BUTTON_LEFT |
58 | #define CB_RIGHT BUTTON_RIGHT | 58 | #define CB_RIGHT BUTTON_RIGHT |
59 | #define CB_PLAY BUTTON_PLAY | 59 | #define CB_PLAY BUTTON_PLAY |
60 | #define CB_LEVEL BUTTON_REC | 60 | #define CB_LEVEL BUTTON_REC |
61 | #define CB_RESTART BUTTON_SELECT | 61 | #define CB_RESTART (BUTTON_SELECT | BUTTON_PLAY) |
62 | #define CB_QUIT BUTTON_POWER | 62 | #define CB_QUIT BUTTON_POWER |
63 | 63 | ||
64 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) | 64 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) |