diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 17:34:39 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 17:34:39 +0000 |
commit | fceacb185829a4d4b4a654c7bc946a940af4ee8f (patch) | |
tree | b49053ec3df3020ece3056b708c89575c0b82b3c /apps/plugins/rockboy | |
parent | 1466bfe7ce5450ba59185f4ce4ac27529566f8e3 (diff) |
fuze+: add rockboy keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30687 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 |