From e08331eef4555a17145d2fd2af1d5a9b5ce6d624 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 17 Jul 2014 10:40:17 +0200 Subject: 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 --- apps/plugins/oscilloscope.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/oscilloscope.c') diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c index 66a2aad7a0..559d52ea06 100644 --- a/apps/plugins/oscilloscope.c +++ b/apps/plugins/oscilloscope.c @@ -475,6 +475,17 @@ #define OSCILLOSCOPE_VOL_UP BUTTON_UP #define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD +#define OSCILLOSCOPE_QUIT BUTTON_BACK +#define OSCILLOSCOPE_DRAWMODE BUTTON_SELECT +#define OSCILLOSCOPE_ADVMODE BUTTON_MENU +#define OSCILLOSCOPE_ORIENTATION BUTTON_SHORTCUT +#define OSCILLOSCOPE_PAUSE BUTTON_PLAYPAUSE +#define OSCILLOSCOPE_SPEED_UP BUTTON_RIGHT +#define OSCILLOSCOPE_SPEED_DOWN BUTTON_LEFT +#define OSCILLOSCOPE_VOL_UP BUTTON_UP +#define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN + #else #error No keymap defined! #endif -- cgit v1.2.3