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/solitaire.c | |
parent | 397863ab3d45bdd8292512a22cd3b436cf281c76 (diff) |
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r-- | apps/plugins/solitaire.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index fcb985b6e3..fea92526be 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -578,6 +578,24 @@ CONFIG_KEYPAD == MROBE500_PAD # define HK_CUR2STACK "LEFT + POWER" # define HK_REM2STACK "RIGHT + POWER" +#elif (CONFIG_KEYPAD == HM801_PAD) +# define SOL_QUIT BUTTON_POWER +# define SOL_UP BUTTON_UP +# define SOL_DOWN BUTTON_DOWN +# define SOL_LEFT BUTTON_LEFT +# define SOL_RIGHT BUTTON_RIGHT +# define SOL_MOVE_PRE BUTTON_PREV +# define SOL_MOVE BUTTON_NEXT +# define SOL_DRAW BUTTON_PLAY +# define SOL_REM2CUR BUTTON_SELECT +# define SOL_CUR2STACK (BUTTON_POWER | BUTTON_LEFT) +# define SOL_REM2STACK (BUTTON_POWER | BUTTON_RIGHT) +# define HK_MOVE "PREV" +# define HK_DRAW "PLAY" +# define HK_REM2CUR "SELECT" +# define HK_CUR2STACK "POWER + LEFT" +# define HK_REM2STACK "POWER + RIGHT" + #else #error No keymap defined! #endif |