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 aa6bef9..e96b6e6 100644
--- a/apps/plugins/text_viewer/tv_button.h
+++ b/apps/plugins/text_viewer/tv_button.h
@@ -462,6 +462,16 @@
#define TV_AUTOSCROLL (BUTTON_POWER | BUTTON_UP)
#define TV_BOOKMARK BUTTON_SELECT
+#elif CONFIG_KEYPAD == HM801_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_PLAY
+#define TV_AUTOSCROLL BUTTON_NEXT
+#define TV_BOOKMARK BUTTON_SELECT
+
#else
#error No keymap defined!
#endif