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
|
|
@ -142,16 +142,32 @@ PLUGIN_HEADER
|
|||
|
||||
#elif (CONFIG_KEYPAD == COWOND2_PAD)
|
||||
#define SNAKE_QUIT BUTTON_POWER
|
||||
#define SNAKE_LEFT BUTTON_LEFT
|
||||
#define SNAKE_RIGHT BUTTON_RIGHT
|
||||
#define SNAKE_UP BUTTON_UP
|
||||
#define SNAKE_DOWN BUTTON_DOWN
|
||||
#define SNAKE_PLAYPAUSE BUTTON_MENU
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef SNAKE_QUIT
|
||||
#define SNAKE_QUIT BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef SNAKE_LEFT
|
||||
#define SNAKE_LEFT BUTTON_MIDLEFT
|
||||
#endif
|
||||
#ifndef SNAKE_RIGHT
|
||||
#define SNAKE_RIGHT BUTTON_MIDRIGHT
|
||||
#endif
|
||||
#ifndef SNAKE_UP
|
||||
#define SNAKE_UP BUTTON_TOPMIDDLE
|
||||
#endif
|
||||
#ifndef SNAKE_DOWN
|
||||
#define SNAKE_DOWN BUTTON_BOTTOMMIDDLE
|
||||
#endif
|
||||
#ifndef SNAKE_PLAYPAUSE
|
||||
#define SNAKE_PLAYPAUSE BUTTON_CENTER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BOARD_WIDTH (LCD_WIDTH/4)
|
||||
#define BOARD_HEIGHT (LCD_HEIGHT/4)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue