diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-06 20:17:27 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-19 17:31:13 +0400 |
commit | 6ee3fc81d9299693da29c204b6ebe243caeae46d (patch) | |
tree | b450288696536193b975d669e20400d4d682b754 /apps/plugins/rockblox.c | |
parent | 397863ab3d45bdd8292512a22cd3b436cf281c76 (diff) |
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r-- | apps/plugins/rockblox.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 03cf492ff0..17eadd65be 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c @@ -407,6 +407,18 @@ #define ROCKBLOX_DROP BUTTON_SELECT #define ROCKBLOX_RESTART (BUTTON_DOWN|BUTTON_POWER) +#elif CONFIG_KEYPAD == HM801_PAD + +#define ROCKBLOX_OFF BUTTON_POWER +#define ROCKBLOX_ROTATE_CCW BUTTON_PREV +#define ROCKBLOX_ROTATE_CW BUTTON_NEXT +#define ROCKBLOX_ROTATE BUTTON_UP +#define ROCKBLOX_DOWN BUTTON_DOWN +#define ROCKBLOX_LEFT BUTTON_LEFT +#define ROCKBLOX_RIGHT BUTTON_RIGHT +#define ROCKBLOX_DROP BUTTON_SELECT +#define ROCKBLOX_RESTART BUTTON_PLAY + #else #error No keymap defined! #endif |