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/text_viewer/tv_button.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/text_viewer/tv_button.h') diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h index b1660c0840..bcaa593cea 100644 --- a/apps/plugins/text_viewer/tv_button.h +++ b/apps/plugins/text_viewer/tv_button.h @@ -496,6 +496,16 @@ #define TV_AUTOSCROLL BUTTON_PLAY #define TV_BOOKMARK BUTTON_POWER +#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD +#define TV_QUIT BUTTON_BACK +#define TV_SCROLL_UP BUTTON_UP +#define TV_SCROLL_DOWN BUTTON_DOWN +#define TV_SCREEN_LEFT BUTTON_LEFT +#define TV_SCREEN_RIGHT BUTTON_RIGHT +#define TV_MENU BUTTON_MENU +#define TV_AUTOSCROLL BUTTON_PLAYPAUSE +#define TV_BOOKMARK BUTTON_SHORTCUT + #else #error No keymap defined! #endif -- cgit v1.2.3