summaryrefslogtreecommitdiff
path: root/apps/plugins/fractals/fractal.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fractals/fractal.h')
-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 3ca50485f0..327f23b7d2 100644
--- a/apps/plugins/fractals/fractal.h
+++ b/apps/plugins/fractals/fractal.h
@@ -342,6 +342,18 @@
#define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_VOL_DOWN)
#define FRACTAL_RESET BUTTON_REC
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define FRACTAL_QUIT BUTTON_REC
+#define FRACTAL_UP BUTTON_UP
+#define FRACTAL_DOWN BUTTON_DOWN
+#define FRACTAL_LEFT BUTTON_MENU
+#define FRACTAL_RIGHT BUTTON_ENTER
+#define FRACTAL_ZOOM_IN (BUTTON_PLAY|BUTTON_UP)
+#define FRACTAL_ZOOM_OUT (BUTTON_PLAY|BUTTON_DOWN)
+#define FRACTAL_PRECISION_INC (BUTTON_PLAY | BUTTON_FF)
+#define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_REW)
+#define FRACTAL_RESET (BUTTON_PLAY | BUTTON_REC)
+
#else
#error No keymap defined!
#endif