summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
commit554d7ed9025bf629f9202c4e5c106f62853207a3 (patch)
treebbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/pacbox/pacbox.h
parentecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff)
downloadrockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.tar.gz
rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.zip
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/pacbox/pacbox.h')
-rw-r--r--apps/plugins/pacbox/pacbox.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index ea9fd3c0ef..d316b70e71 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -130,6 +130,18 @@
130#define PACMAN_COIN (BUTTON_RC_MODE | BUTTON_RC_DOWN) 130#define PACMAN_COIN (BUTTON_RC_MODE | BUTTON_RC_DOWN)
131#define PACMAN_MENU BUTTON_POWER 131#define PACMAN_MENU BUTTON_POWER
132 132
133#elif CONFIG_KEYPAD == COWOND2_PAD
134
135#define PACMAN_UP BUTTON_UP
136#define PACMAN_DOWN BUTTON_DOWN
137#define PACMAN_LEFT BUTTON_LEFT
138#define PACMAN_RIGHT BUTTON_RIGHT
139#define PACMAN_1UP BUTTON_MINUS
140#define PACMAN_2UP BUTTON_PLUS
141#define PACMAN_COIN_PRE BUTTON_SELECT
142#define PACMAN_COIN (BUTTON_MENU | BUTTON_SELECT)
143#define PACMAN_MENU BUTTON_MENU
144
133#else 145#else
134 146
135#error Keymap not defined! 147#error Keymap not defined!