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
|
|
@ -117,14 +117,25 @@ PLUGIN_HEADER
|
|||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
|
||||
#define QUIT BUTTON_POWER
|
||||
#define LEFT BUTTON_MINUS
|
||||
#define RIGHT BUTTON_PLUS
|
||||
#define FIRE BUTTON_MENU
|
||||
|
||||
#else
|
||||
#error INVADROX: Unsupported keypad
|
||||
#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 FIRE
|
||||
#define FIRE BUTTON_CENTER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef UNUSED
|
||||
#define UNUSED __attribute__ ((unused))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue