forked from len0rd/rockbox
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ecde125fa7
commit
554d7ed902
60 changed files with 538 additions and 9 deletions
|
@ -200,6 +200,19 @@ static struct plugin_api* rb; /* global api struct pointer */
|
|||
#define AST_FIRE BUTTON_RC_MODE
|
||||
#define AST_FIRE_REP (BUTTON_RC_MODE | BUTTON_REPEAT)
|
||||
|
||||
#elif (CONFIG_KEYPAD == COWOND2_PAD)
|
||||
#define AST_PAUSE BUTTON_SELECT
|
||||
#define AST_QUIT BUTTON_POWER
|
||||
#define AST_THRUST_REP BUTTON_UP | BUTTON_MENU
|
||||
#define AST_THRUST BUTTON_UP
|
||||
#define AST_HYPERSPACE BUTTON_DOWN
|
||||
#define AST_LEFT BUTTON_LEFT
|
||||
#define AST_LEFT_REP BUTTON_LEFT | BUTTON_MENU
|
||||
#define AST_RIGHT BUTTON_RIGHT
|
||||
#define AST_RIGHT_REP (BUTTON_RIGHT | BUTTON_MENU)
|
||||
#define AST_FIRE BUTTON_PLUS
|
||||
#define AST_FIRE_REP BUTTON_PLUS | BUTTON_MENU
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue