summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_button.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-08 09:47:40 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-11 16:37:17 -0400
commit2a471e288c16b91a7186a60b3fb84dd55a494c7a (patch)
tree3e746212c5fa69b59f61d19b6e29d11aa8a5e31b /apps/plugins/text_viewer/tv_button.h
parent5efaa9ef8073bb216e3dcdbb4476f2fa7c672b76 (diff)
downloadrockbox-2a471e288c16b91a7186a60b3fb84dd55a494c7a.tar.gz
rockbox-2a471e288c16b91a7186a60b3fb84dd55a494c7a.zip
New port: AIGO EROS Q / EROS K
The Q and K have a slightly different case, but the hardware under the shell is completely identical. These models are rebadged versions: * Hifiwalker H2 (== Q) * AGPTek H3 (== K) * Surfans F20 (== K) Other notes: * Significant improvements in the shared Hiby-platform launcher/loader * SD card can theoretically be hot-swapped now * Support external USB mass storage! * Some consolidation of Hiby-platform targets * Some consolidation of plugin keymaps Todo/known issues: * Keymaps need to be gone over properly * Convert to HAVE_SCROLLWHEEL? Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
Diffstat (limited to 'apps/plugins/text_viewer/tv_button.h')
-rw-r--r--apps/plugins/text_viewer/tv_button.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h
index dea87ebd52..cf3a2b777e 100644
--- a/apps/plugins/text_viewer/tv_button.h
+++ b/apps/plugins/text_viewer/tv_button.h
@@ -545,6 +545,18 @@
545#define TV_LINE_DOWN BUTTON_OPTION 545#define TV_LINE_DOWN BUTTON_OPTION
546#define TV_BOOKMARK (BUTTON_OPTION | BUTTON_PLAY) 546#define TV_BOOKMARK (BUTTON_OPTION | BUTTON_PLAY)
547 547
548#elif CONFIG_KEYPAD == EROSQ_PAD
549#define TV_MENU BUTTON_MENU
550#define TV_SCROLL_UP BUTTON_SCROLL_BACK
551#define TV_SCROLL_DOWN BUTTON_SCROLL_FWD
552#define TV_SCREEN_LEFT BUTTON_PREV
553#define TV_SCREEN_RIGHT BUTTON_NEXT
554#define TV_AUTOSCROLL BUTTON_PLAY
555#define TV_QUIT BUTTON_POWER
556#define TV_BOOKMARK BUTTON_BACK
557#define TV_LINE_UP BUTTON_VOL_UP
558#define TV_LINE_DOWN BUTTON_VOL_DOWN
559
548/* Xuelin 770/770c keys */ 560/* Xuelin 770/770c keys */
549#elif CONFIG_KEYPAD == IHIFI_770_PAD 561#elif CONFIG_KEYPAD == IHIFI_770_PAD
550#define TV_QUIT BUTTON_POWER 562#define TV_QUIT BUTTON_POWER