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
|
@ -247,6 +247,22 @@
|
|||
|
||||
#define CB_RC_QUIT BUTTON_REC
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
#define CB_SELECT BUTTON_SELECT
|
||||
#define CB_UP BUTTON_UP
|
||||
#define CB_DOWN BUTTON_DOWN
|
||||
#define CB_LEFT BUTTON_LEFT
|
||||
#define CB_RIGHT BUTTON_RIGHT
|
||||
#define CB_PLAY BUTTON_MENU
|
||||
#define CB_LEVEL BUTTON_PLUS
|
||||
#define CB_RESTART (BUTTON_SELECT | BUTTON_MENU)
|
||||
#define CB_MENU BUTTON_POWER
|
||||
|
||||
#define CB_SCROLL_UP (BUTTON_UP|BUTTON_MENU)
|
||||
#define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_MENU)
|
||||
#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_MENU)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_MENU)
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue