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 QUIT BUTTON_POWER
|
||||
#define LEFT BUTTON_LEFT
|
||||
#define RIGHT BUTTON_RIGHT
|
||||
#define UP BUTTON_UP
|
||||
#define DOWN BUTTON_DOWN
|
||||
#define PAUSE BUTTON_SELECT
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef QUIT
|
||||
#define QUIT BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef LEFT
|
||||
#define LEFT BUTTON_MIDLEFT
|
||||
#endif
|
||||
#ifndef RIGHT
|
||||
#define RIGHT BUTTON_MIDRIGHT
|
||||
#endif
|
||||
#ifndef UP
|
||||
#define UP BUTTON_TOPMIDDLE
|
||||
#endif
|
||||
#ifndef DOWN
|
||||
#define DOWN BUTTON_BOTTOMMIDDLE
|
||||
#endif
|
||||
#ifndef PAUSE
|
||||
#define PAUSE BUTTON_CENTER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MOVE_NO 0 /* player movement */
|
||||
#define MOVE_UP 1 /* 1 */
|
||||
#define MOVE_DN 2 /* 3 0 4 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue