summaryrefslogtreecommitdiff
path: root/apps/plugins/solitaire.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-29 12:47:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-29 12:47:24 +0000
commit01377e2e5791ae72f112c722405efb6e12e00db5 (patch)
treed3c6cd2055e262d20cbcc767783275a6d29ef532 /apps/plugins/solitaire.c
parent9e8918b0866b249a55c06a16a243cdd3dcdad305 (diff)
downloadrockbox-01377e2e5791ae72f112c722405efb6e12e00db5.zip
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.gz
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.bz2
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.xz
Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r--apps/plugins/solitaire.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index fca36aa..880b5a0 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -85,7 +85,8 @@ static struct plugin_api* rb;
#define SOL_MENU_RUN BUTTON_RIGHT
#define SOL_MENU_INFO BUTTON_MENU
-#elif CONFIG_KEYPAD == IRIVER_H100_PAD
+#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define SOL_QUIT BUTTON_OFF
#define SOL_UP BUTTON_UP
#define SOL_DOWN BUTTON_DOWN
@@ -124,7 +125,8 @@ static struct plugin_api* rb;
#define HELP_SOL_CUR2STACK "RIGHT..: Put the card under the cursor on one of the 4 final color stacks."
#define HELP_SOL_REM2STACK "UP..: Put the card on top of the remains' stack on one of the 4 final color stacks."
-#elif CONFIG_KEYPAD == IRIVER_H100_PAD
+#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define HELP_SOL_MOVE "SELECT: Select cards, Move cards, reveal hidden cards ..."
#define HELP_SOL_DRAW "REC: Un-select a card if it was selected. Else, draw 3 new cards out of the remains' stack."
#define HELP_SOL_REM2CUR "PLAY+LEFT: Put the card on top of the remains' stack on top of the cursor."