diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
commit | 594b6e2b496e69ca843b21bf04810bdb919099a7 (patch) | |
tree | 046af11c0c199fae3e41006f5aff39b4f6539f4f /apps/plugins/goban | |
parent | 11ac0b3f2a7d2abc0ae6127752559b1ffafbebff (diff) |
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/goban')
-rw-r--r-- | apps/plugins/goban/goban.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index 9a77221586..54ec968f0b 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h @@ -269,6 +269,18 @@ #define GBN_BUTTON_MENU BUTTON_MENU | BUTTON_REPEAT #define GBN_BUTTON_PLAY BUTTON_MENU | BUTTON_REL #define GBN_BUTTON_NAV_MODE BUTTON_OFF + +#elif (CONFIG_KEYPAD == SAMSUNG_YH_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_REW +#define GBN_BUTTON_ADVANCE BUTTON_FFWD +#define GBN_BUTTON_MENU BUTTON_PLAY | BUTTON_LEFT +#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_RIGHT +#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_DOWN +#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY | BUTTON_UP /* No context */ /* No advance/retreat */ /* no next var */ |