1
0
Fork 0
forked from len0rd/rockbox

FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rob Purchase 2008-04-27 15:30:19 +00:00
parent 6b9b508aab
commit 297e0504da
53 changed files with 1418 additions and 364 deletions

View file

@ -246,17 +246,36 @@ PLUGIN_HEADER
#elif CONFIG_KEYPAD == COWOND2_PAD
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_PAGE_UP BUTTON_UP
#define VIEWER_PAGE_DOWN BUTTON_DOWN
#define VIEWER_SCREEN_LEFT BUTTON_LEFT
#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
#define VIEWER_MENU BUTTON_MENU
#define VIEWER_AUTOSCROLL BUTTON_SELECT
#else
#error No keymap defined!
#endif
#ifdef HAVE_TOUCHPAD
#ifndef VIEWER_QUIT
#define VIEWER_QUIT BUTTON_TOPLEFT
#endif
#ifndef VIEWER_PAGE_UP
#define VIEWER_PAGE_UP BUTTON_TOPMIDDLE
#endif
#ifndef VIEWER_PAGE_DOWN
#define VIEWER_PAGE_DOWN BUTTON_BOTTOMMIDDLE
#endif
#ifndef VIEWER_SCREEN_LEFT
#define VIEWER_SCREEN_LEFT BUTTON_MIDLEFT
#endif
#ifndef VIEWER_SCREEN_RIGHT
#define VIEWER_SCREEN_RIGHT BUTTON_MIDRIGHT
#endif
#ifndef VIEWER_MENU
#define VIEWER_MENU BUTTON_TOPRIGHT
#endif
#ifndef VIEWER_AUTOSCROLL
#define VIEWER_AUTOSCROLL BUTTON_CENTER
#endif
#endif
/* stuff for the bookmarking */
struct bookmarked_file_info {
long file_position;
@ -1620,3 +1639,4 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
return PLUGIN_OK;
}