summaryrefslogtreecommitdiff
path: root/apps/plugins/fractals
diff options
context:
space:
mode:
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 d9c4a88..aa8c31f 100644
--- a/apps/plugins/fractals/fractal.h
+++ b/apps/plugins/fractals/fractal.h
@@ -472,6 +472,18 @@
#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD
#define FRACTAL_QUIT BUTTON_POWER
+#elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD
+#define FRACTAL_QUIT BUTTON_POWER
+#define FRACTAL_UP BUTTON_UP
+#define FRACTAL_DOWN BUTTON_DOWN
+#define FRACTAL_RIGHT BUTTON_RIGHT
+#define FRACTAL_LEFT BUTTON_LEFT
+#define FRACTAL_ZOOM_IN (BUTTON_VOLUP|BUTTON_UP)
+#define FRACTAL_ZOOM_OUT (BUTTON_VOLUP|BUTTON_DOWN)
+#define FRACTAL_PRECISION_INC (BUTTON_VOLUP|BUTTON_RIGHT)
+#define FRACTAL_PRECISION_DEC (BUTTON_VOLUP|BUTTON_LEFT)
+#define FRACTAL_RESET BUTTON_SELECT
+
#else
#error No keymap defined!
#endif