diff options
author | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
commit | d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch) | |
tree | 2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/flipit.c | |
parent | 9876d91e351f457bac7f5ea3459dc12ef021078a (diff) |
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 382e6619c3..4292ef8e4f 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c @@ -139,6 +139,18 @@ PLUGIN_HEADER #define FLIPIT_STEP_BY_STEP BUTTON_VOL_DOWN #define FLIPIT_TOGGLE BUTTON_SELECT +#elif CONFIG_KEYPAD == MROBE100_PAD + +#define FLIPIT_UP BUTTON_UP +#define FLIPIT_DOWN BUTTON_DOWN +#define FLIPIT_QUIT BUTTON_POWER +#define FLIPIT_SHUFFLE BUTTON_MENU +#define FLIPIT_SOLVE BUTTON_PLAY +#define FLIPIT_STEP_BY_STEP BUTTON_DISPLAY +#define FLIPIT_TOGGLE BUTTON_SELECT + +#else +#error No keymap defined! #endif static struct plugin_api* rb; |