diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-22 22:03:34 +0000 |
commit | 554d7ed9025bf629f9202c4e5c106f62853207a3 (patch) | |
tree | bbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/midi/midiplay.c | |
parent | ecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff) |
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
Diffstat (limited to 'apps/plugins/midi/midiplay.c')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index c5865beb09..84bfe30034 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c @@ -135,6 +135,15 @@ PLUGIN_IRAM_DECLARE #define BTN_PLAY BUTTON_RC_PLAY +#elif CONFIG_KEYPAD == COWOND2_PAD +#define BTN_QUIT BUTTON_POWER +#define BTN_RIGHT BUTTON_RIGHT +#define BTN_LEFT BUTTON_LEFT +#define BTN_UP BUTTON_UP +#define BTN_DOWN BUTTON_DOWN +#define BTN_PLAY BUTTON_SELECT + + #else #error No keymap defined! #endif |