From 397863ab3d45bdd8292512a22cd3b436cf281c76 Mon Sep 17 00:00:00 2001 From: Andrew Ryabinin Date: Fri, 23 Mar 2012 22:32:50 +0400 Subject: hm60x: Add support for plugins. Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8 --- apps/plugins/minesweeper.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/minesweeper.c') diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index da07ba6..3303569 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -323,6 +323,17 @@ CONFIG_KEYPAD == MROBE500_PAD # define MINESWP_DISCOVER BUTTON_SELECT # define MINESWP_INFO BUTTON_MENU +#elif (CONFIG_KEYPAD == HM60X_PAD) + +# define MINESWP_LEFT BUTTON_LEFT +# define MINESWP_RIGHT BUTTON_RIGHT +# define MINESWP_UP BUTTON_UP +# define MINESWP_DOWN BUTTON_DOWN +# define MINESWP_QUIT BUTTON_POWER +# define MINESWP_TOGGLE (BUTTON_LEFT|BUTTON_POWER) +# define MINESWP_DISCOVER BUTTON_SELECT +# define MINESWP_INFO (BUTTON_UP|BUTTON_POWER) + #else #error No keymap defined! #endif -- cgit v1.1