diff options
author | Mustapha Senhaji <moos@rockbox.org> | 2008-05-18 14:09:33 +0000 |
---|---|---|
committer | Mustapha Senhaji <moos@rockbox.org> | 2008-05-18 14:09:33 +0000 |
commit | 79ba66952ff03e8dd44aea14500574e41a79d3b0 (patch) | |
tree | 84a6440024e6e84bf8047fbd7fd5fb6d7f620099 /apps/plugins | |
parent | c67a7b12be2b5317ca9c4d784b7d3473131dbd1f (diff) |
FS#9004 by Alex Parker: Add missing button definitions to Gigabeat S text viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/viewer.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index cd0d3694ba..d596f43b83 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -205,6 +205,7 @@ PLUGIN_HEADER #define VIEWER_MENU BUTTON_REW #define VIEWER_AUTOSCROLL BUTTON_PLAY +/*M-Robe 500 keys */ #elif CONFIG_KEYPAD == MROBE500_PAD #define VIEWER_QUIT BUTTON_POWER #define VIEWER_PAGE_UP BUTTON_RC_PLAY @@ -214,15 +215,22 @@ PLUGIN_HEADER #define VIEWER_MENU BUTTON_RC_HEART #define VIEWER_AUTOSCROLL BUTTON_RC_MODE +/*Gigabeat S keys */ #elif CONFIG_KEYPAD == GIGABEAT_S_PAD #define VIEWER_QUIT BUTTON_BACK -#define VIEWER_PAGE_UP BUTTON_VOL_UP -#define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN -#define VIEWER_SCREEN_LEFT BUTTON_LEFT -#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT +#define VIEWER_PAGE_UP BUTTON_PREV +#define VIEWER_PAGE_DOWN BUTTON_NEXT +#define VIEWER_SCREEN_LEFT (BUTTON_PLAY | BUTTON_LEFT) +#define VIEWER_SCREEN_RIGHT (BUTTON_PLAY | BUTTON_RIGHT) #define VIEWER_MENU BUTTON_MENU -#define VIEWER_AUTOSCROLL BUTTON_PLAY +#define VIEWER_AUTOSCROLL_PRE BUTTON_PLAY +#define VIEWER_AUTOSCROLL (BUTTON_PLAY|BUTTON_REL) +#define VIEWER_LINE_UP BUTTON_UP +#define VIEWER_LINE_DOWN BUTTON_DOWN +#define VIEWER_COLUMN_LEFT BUTTON_LEFT +#define VIEWER_COLUMN_RIGHT BUTTON_RIGHT +/*M-Robe 100 keys */ #elif CONFIG_KEYPAD == MROBE100_PAD #define VIEWER_QUIT BUTTON_POWER #define VIEWER_PAGE_UP BUTTON_UP @@ -241,9 +249,9 @@ PLUGIN_HEADER #define VIEWER_SCREEN_RIGHT BUTTON_RC_FF #define VIEWER_MENU BUTTON_RC_MENU #define VIEWER_AUTOSCROLL BUTTON_RC_MODE - #define VIEWER_RC_QUIT BUTTON_REC +/* Cowon D2 keys */ #elif CONFIG_KEYPAD == COWOND2_PAD #define VIEWER_QUIT BUTTON_POWER #define VIEWER_MENU BUTTON_MENU |