diff options
Diffstat (limited to 'apps/plugins/mandelbrot.c')
-rw-r--r-- | apps/plugins/mandelbrot.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/mandelbrot.c b/apps/plugins/mandelbrot.c index b3ead229c3..5f3caa7bee 100644 --- a/apps/plugins/mandelbrot.c +++ b/apps/plugins/mandelbrot.c @@ -188,6 +188,22 @@ PLUGIN_HEADER #define MANDELBROT_MAXITER_DEC BUTTON_NEXT #define MANDELBROT_RESET BUTTON_MENU +#elif CONFIG_KEYPAD == MROBE100_PAD +#define MANDELBROT_QUIT BUTTON_POWER +#define MANDELBROT_UP BUTTON_UP +#define MANDELBROT_DOWN BUTTON_DOWN +#define MANDELBROT_LEFT BUTTON_LEFT +#define MANDELBROT_RIGHT BUTTON_RIGHT +#define MANDELBROT_ZOOM_IN_PRE BUTTON_SELECT +#define MANDELBROT_ZOOM_IN (BUTTON_SELECT | BUTTON_REL) +#define MANDELBROT_ZOOM_OUT_PRE BUTTON_SELECT +#define MANDELBROT_ZOOM_OUT (BUTTON_SELECT | BUTTON_REPEAT) +#define MANDELBROT_MAXITER_INC BUTTON_MENU +#define MANDELBROT_MAXITER_DEC BUTTON_PLAY +#define MANDELBROT_RESET BUTTON_DISPLAY + +#else +#error No keymap defined! #endif #if LCD_DEPTH < 8 |