From fceacb185829a4d4b4a654c7bc946a940af4ee8f Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 2 Oct 2011 17:34:39 +0000 Subject: fuze+: add rockboy keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30687 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/rockboy.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/plugins/rockboy') diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 88828815aa..f3ca002e5d 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c @@ -318,6 +318,18 @@ static void setoptions (void) options.SELECT = (BUTTON_ENTER | BUTTON_REPEAT); options.MENU = (BUTTON_MENU | BUTTON_REPEAT); +#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD + options.UP = BUTTON_UP; + options.DOWN = BUTTON_DOWN; + options.LEFT = BUTTON_LEFT; + options.RIGHT = BUTTON_RIGHT; + + options.A = BUTTON_BACK; + options.B = BUTTON_PLAYPAUSE; + options.START = BUTTON_SELECT; + options.SELECT = (BUTTON_PLAYPAUSE | BUTTON_REPEAT); + options.MENU = (BUTTON_SELECT | BUTTON_REPEAT); + #else #error No Keymap Defined! #endif -- cgit v1.2.3