diff options
Diffstat (limited to 'apps/plugins/dice.c')
-rw-r--r-- | apps/plugins/dice.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c index 622c58d71d..7580697267 100644 --- a/apps/plugins/dice.c +++ b/apps/plugins/dice.c | |||
@@ -28,7 +28,14 @@ | |||
28 | #define INITIAL_NB_DICES 1 | 28 | #define INITIAL_NB_DICES 1 |
29 | #define INITIAL_NB_SIDES 2 /* corresponds to 6 sides in the array */ | 29 | #define INITIAL_NB_SIDES 2 /* corresponds to 6 sides in the array */ |
30 | 30 | ||
31 | |||
32 | #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ | ||
33 | || (CONFIG_KEYPAD == IPOD_3G_PAD) \ | ||
34 | || (CONFIG_KEYPAD == IPOD_4G_PAD) | ||
35 | #define DICE_QUIT PLA_UP | ||
36 | #else | ||
31 | #define DICE_QUIT PLA_CANCEL | 37 | #define DICE_QUIT PLA_CANCEL |
38 | #endif | ||
32 | #define DICE_ROLL PLA_SELECT | 39 | #define DICE_ROLL PLA_SELECT |
33 | 40 | ||
34 | 41 | ||