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:
parent
6b9b508aab
commit
297e0504da
53 changed files with 1418 additions and 364 deletions
|
@ -211,20 +211,41 @@ PLUGIN_HEADER
|
|||
#define JPEG_PREVIOUS BUTTON_RC_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
#define JPEG_ZOOM_IN BUTTON_PLUS
|
||||
#define JPEG_ZOOM_OUT BUTTON_MINUS
|
||||
#define JPEG_UP BUTTON_UP
|
||||
#define JPEG_DOWN BUTTON_DOWN
|
||||
#define JPEG_LEFT BUTTON_LEFT
|
||||
#define JPEG_RIGHT BUTTON_RIGHT
|
||||
#define JPEG_MENU BUTTON_MENU
|
||||
#define JPEG_NEXT (BUTTON_SELECT|BUTTON_PLUS)
|
||||
#define JPEG_PREVIOUS (BUTTON_SELECT|BUTTON_MINUS)
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef JPEG_UP
|
||||
#define JPEG_UP BUTTON_TOPMIDDLE
|
||||
#endif
|
||||
#ifndef JPEG_DOWN
|
||||
#define JPEG_DOWN BUTTON_BOTTOMMIDDLE
|
||||
#endif
|
||||
#ifndef JPEG_LEFT
|
||||
#define JPEG_LEFT BUTTON_MIDLEFT
|
||||
#endif
|
||||
#ifndef JPEG_RIGHT
|
||||
#define JPEG_RIGHT BUTTON_MIDRIGHT
|
||||
#endif
|
||||
#ifndef JPEG_ZOOM_IN
|
||||
#define JPEG_ZOOM_IN BUTTON_TOPRIGHT
|
||||
#endif
|
||||
#ifndef JPEG_ZOOM_OUT
|
||||
#define JPEG_ZOOM_OUT BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef JPEG_MENU
|
||||
#define JPEG_MENU (BUTTON_CENTER|BUTTON_REL)
|
||||
#endif
|
||||
#ifndef JPEG_NEXT
|
||||
#define JPEG_NEXT BUTTON_BOTTOMRIGHT
|
||||
#endif
|
||||
#ifndef JPEG_PREVIOUS
|
||||
#define JPEG_PREVIOUS BUTTON_BOTTOMLEFT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* different graphics libraries */
|
||||
#if LCD_DEPTH < 8
|
||||
#define USEGSLIB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue