diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:14:31 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:14:31 +0000 |
commit | f08eed6ec5204a48d2724770e470e5382caf4c05 (patch) | |
tree | 9becbc485b4b4c4b2182cca870f7cc3965151241 /apps/keymaps/keymap-cowond2.c | |
parent | 1a08f46329e9f6d7bd55a8a9ad45db27df8a7593 (diff) |
D2/Touchscreen keymap improvements: onscreen keyboard is now usable; PLAY/pause now mapped to TOPRIGHT; Usable defaults in Rockboy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18529 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-cowond2.c')
-rw-r--r-- | apps/keymaps/keymap-cowond2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-cowond2.c b/apps/keymaps/keymap-cowond2.c index 2e412458e1..7ba2d8b02b 100644 --- a/apps/keymaps/keymap-cowond2.c +++ b/apps/keymaps/keymap-cowond2.c @@ -137,8 +137,13 @@ static const struct button_mapping button_context_pitchscreen[] = { }; /* button_context_pitchcreen */ static const struct button_mapping button_context_keyboard[] = { + { ACTION_KBD_PAGE_FLIP, BUTTON_MENU, BUTTON_NONE }, + { ACTION_KBD_CURSOR_LEFT, BUTTON_MINUS, BUTTON_NONE }, + { ACTION_KBD_CURSOR_LEFT, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_CURSOR_RIGHT, BUTTON_PLUS, BUTTON_NONE }, + { ACTION_KBD_CURSOR_RIGHT, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, + LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) - //LAST_ITEM_IN_LIST }; /* button_context_keyboard */ const struct button_mapping* target_get_context_mapping(int context) |