diff options
author | Mustapha Senhaji <moos@rockbox.org> | 2009-02-11 17:32:35 +0000 |
---|---|---|
committer | Mustapha Senhaji <moos@rockbox.org> | 2009-02-11 17:32:35 +0000 |
commit | 2e49f654877045f171dfff27ec7b56af1d8e40ef (patch) | |
tree | 93ab2a1f66733427bb2af36b0777fbab044d0ae1 /apps/plugins/goban | |
parent | 8198a6c26681b69df7eb1ec6fa4716bd344793e1 (diff) |
Hopefully fix the red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19975 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/goban')
-rw-r--r-- | apps/plugins/goban/goban.c | 2 | ||||
-rw-r--r-- | apps/plugins/goban/goban.h | 19 |
2 files changed, 17 insertions, 4 deletions
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c index e5943c0ba6..0286e1cdc5 100644 --- a/apps/plugins/goban/goban.c +++ b/apps/plugins/goban/goban.c @@ -238,6 +238,8 @@ plugin_start (const void *parameter) int btn; int temp; + (void) temp; + rb->mkdir ("/sgf"); global_setup (); diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index 84866d5b47..c15eead13b 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h @@ -78,8 +78,7 @@ /* no context */ /* no next var */ -#elif (CONFIG_KEYPAD == SANSA_E200_PAD) \ - || (CONFIG_KEYPAD == SANSA_FUZE_PAD) +#elif (CONFIG_KEYPAD == SANSA_E200_PAD) #define GBN_BUTTON_UP BUTTON_UP #define GBN_BUTTON_DOWN BUTTON_DOWN #define GBN_BUTTON_LEFT BUTTON_LEFT @@ -91,6 +90,18 @@ #define GBN_BUTTON_CONTEXT BUTTON_SELECT | BUTTON_REPEAT #define GBN_BUTTON_NEXT_VAR BUTTON_REC +#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD) +#define GBN_BUTTON_UP BUTTON_UP +#define GBN_BUTTON_DOWN BUTTON_DOWN +#define GBN_BUTTON_LEFT BUTTON_LEFT +#define GBN_BUTTON_RIGHT BUTTON_RIGHT +#define GBN_BUTTON_RETREAT BUTTON_SCROLL_BACK +#define GBN_BUTTON_ADVANCE BUTTON_SCROLL_FWD +#define GBN_BUTTON_MENU BUTTON_POWER +#define GBN_BUTTON_PLAY BUTTON_SELECT | BUTTON_REL +#define GBN_BUTTON_CONTEXT BUTTON_SELECT | BUTTON_REPEAT +/* no next var */ + #elif (CONFIG_KEYPAD == SANSA_C200_PAD) #define GBN_BUTTON_UP BUTTON_UP #define GBN_BUTTON_DOWN BUTTON_DOWN @@ -103,7 +114,7 @@ #define GBN_BUTTON_CONTEXT BUTTON_SELECT | BUTTON_REPEAT #define GBN_BUTTON_NEXT_VAR BUTTON_REC -#elif (CONFIG_KEYPAD == GIGABEAT_PAD) \ +#elif (CONFIG_KEYPAD == GIGABEAT_PAD) #define GBN_BUTTON_UP BUTTON_UP #define GBN_BUTTON_DOWN BUTTON_DOWN #define GBN_BUTTON_LEFT BUTTON_LEFT @@ -176,7 +187,7 @@ #define GBN_BUTTON_CONTEXT BUTTON_SELECT | BUTTON_REPEAT /* no next var */ -#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#elif (CONFIG_KEYPAD == IAUDIO_M3_PAD) /* TODO: these are basically complete guesses, I have no manual to go by */ #define GBN_BUTTON_UP BUTTON_RC_VOL_UP #define GBN_BUTTON_DOWN BUTTON_RC_VOL_DOWN |