summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
commite08331eef4555a17145d2fd2af1d5a9b5ce6d624 (patch)
treedb41fe84f8175d36525ccb7ae21995584a008253 /apps/plugins/sudoku
parent2387d92c9c39f238d3d193d970edf30162d8ec9e (diff)
zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins
Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size. Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 11abc9c448..2bc65eeaa7 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -389,6 +389,15 @@
#define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY
#define SUDOKU_BUTTON_POSSIBLE BUTTON_POWER
+#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
+#define SUDOKU_BUTTON_MENU BUTTON_MENU
+#define SUDOKU_BUTTON_UP BUTTON_UP
+#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
+#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
+#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
+#define SUDOKU_BUTTON_TOGGLE BUTTON_SELECT
+#define SUDOKU_BUTTON_POSSIBLE BUTTON_SHORTCUT
+
#else
#error No keymap defined!
#endif