diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-06 20:17:27 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-19 17:31:13 +0400 |
commit | 6ee3fc81d9299693da29c204b6ebe243caeae46d (patch) | |
tree | b450288696536193b975d669e20400d4d682b754 /apps/plugins/goban/goban.h | |
parent | 397863ab3d45bdd8292512a22cd3b436cf281c76 (diff) |
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
Diffstat (limited to 'apps/plugins/goban/goban.h')
-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 ddcbd33856..f9925459ad 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h @@ -392,6 +392,18 @@ #define GBN_BUTTON_CONTEXT (BUTTON_POWER | BUTTON_DOWN) #define GBN_BUTTON_NEXT_VAR (BUTTON_POWER | BUTTON_RIGHT) +#elif (CONFIG_KEYPAD == HM801_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_MENU BUTTON_POWER +#define GBN_BUTTON_PLAY BUTTON_SELECT +#define GBN_BUTTON_RETREAT BUTTON_PREV +#define GBN_BUTTON_ADVANCE (BUTTON_POWER | BUTTON_PLAY) +#define GBN_BUTTON_CONTEXT BUTTON_PLAY +#define GBN_BUTTON_NEXT_VAR BUTTON_NEXT + #else #error Unsupported keypad #endif |