forked from len0rd/rockbox
Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: Play(instead of long select) - accept & exit, Long menu - toggle morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
342c50f26b
commit
8ab6ac7739
2 changed files with 6 additions and 4 deletions
|
|
@ -155,14 +155,15 @@ static const struct button_mapping button_context_keyboard[] = {
|
|||
{ ACTION_KBD_LEFT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_KBD_RIGHT, BUTTON_RIGHT, BUTTON_NONE },
|
||||
{ ACTION_KBD_RIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_KBD_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
|
||||
{ ACTION_KBD_DONE, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_KBD_ABORT, BUTTON_MENU, BUTTON_NONE },
|
||||
{ ACTION_KBD_SELECT, BUTTON_SELECT, BUTTON_NONE },
|
||||
{ ACTION_KBD_DONE, BUTTON_PLAY, BUTTON_NONE },
|
||||
{ ACTION_KBD_ABORT, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
|
||||
{ ACTION_KBD_UP, BUTTON_SCROLL_BACK, BUTTON_NONE },
|
||||
{ ACTION_KBD_UP, BUTTON_SCROLL_BACK|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_KBD_DOWN, BUTTON_SCROLL_FWD, BUTTON_NONE },
|
||||
{ ACTION_KBD_DOWN, BUTTON_SCROLL_FWD|BUTTON_REPEAT, BUTTON_NONE },
|
||||
|
||||
{ ACTION_KBD_MORSE_INPUT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },
|
||||
{ ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE },
|
||||
LAST_ITEM_IN_LIST
|
||||
}; /* button_context_keyboard */
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
|
||||
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#define KBD_MODES /* iPod uses 2 modes, picker and line edit */
|
||||
#define KBD_MORSE_INPUT
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
|
||||
#define KBD_MODES /* iFP7xx uses 2 modes, picker and line edit */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue