summaryrefslogtreecommitdiff
path: root/apps/plugins/fractals
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-06 20:17:27 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-19 17:31:13 +0400
commit6ee3fc81d9299693da29c204b6ebe243caeae46d (patch)
treeb450288696536193b975d669e20400d4d682b754 /apps/plugins/fractals
parent397863ab3d45bdd8292512a22cd3b436cf281c76 (diff)
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
Diffstat (limited to 'apps/plugins/fractals')
-rw-r--r--apps/plugins/fractals/fractal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/fractals/fractal.h b/apps/plugins/fractals/fractal.h
index d48e1edebd..d2df7e20f1 100644
--- a/apps/plugins/fractals/fractal.h
+++ b/apps/plugins/fractals/fractal.h
@@ -402,6 +402,18 @@
#define FRACTAL_PRECISION_DEC (BUTTON_POWER | BUTTON_DOWN)
#define FRACTAL_RESET (BUTTON_POWER | BUTTON_LEFT)
+#elif CONFIG_KEYPAD == HM801_PAD
+#define FRACTAL_QUIT BUTTON_POWER
+#define FRACTAL_UP BUTTON_UP
+#define FRACTAL_DOWN BUTTON_DOWN
+#define FRACTAL_LEFT BUTTON_LEFT
+#define FRACTAL_RIGHT BUTTON_RIGHT
+#define FRACTAL_ZOOM_IN BUTTON_SELECT
+#define FRACTAL_ZOOM_OUT BUTTON_PLAY
+#define FRACTAL_PRECISION_INC BUTTON_NEXT
+#define FRACTAL_PRECISION_DEC BUTTON_PREV
+#define FRACTAL_RESET (BUTTON_POWER | BUTTON_PLAY)
+
#else
#error No keymap defined!
#endif