summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer')
-rw-r--r--apps/plugins/text_viewer/tv_button.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h
index 3ea4161..9d1b5af 100644
--- a/apps/plugins/text_viewer/tv_button.h
+++ b/apps/plugins/text_viewer/tv_button.h
@@ -540,6 +540,16 @@
#define TV_MENU BUTTON_MENU
#define TV_BOOKMARK BUTTON_BOTTOMLEFT
+#elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD
+#define TV_QUIT BUTTON_POWER
+#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_SELECT
+#define TV_AUTOSCROLL BUTTON_VOLDOWN
+#define TV_BOOKMARK BUTTON_VOLUP
+
#else
#error No keymap defined!
#endif