1
0
Fork 0
forked from len0rd/rockbox

iRiver: Enable line input mode on keyboard. The cursor key combos can still be used when in picker mode. Much easier for moving the cursor around by many characters.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12617 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-03-05 02:07:17 +00:00
parent 8d0cd9f303
commit 9701954654

View file

@ -47,6 +47,9 @@
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD)
#define KBD_CURSOR_KEYS /* certain key combos move the cursor even if not
in line edit mode */
#define KBD_MODES /* I-Rivers can use picker, line edit and cursor keys */
#define KBD_MORSE_INPUT /* I-Rivers have a Morse input mode */
#elif CONFIG_KEYPAD == ONDIO_PAD /* restricted Ondio keypad */
@ -929,7 +932,7 @@ int kbd_input(char* text, int buflen)
/* speak revised text */
break;
#ifndef KBD_MODES
#if !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS)
case ACTION_KBD_BACKSPACE:
if (hangul)
{
@ -977,7 +980,7 @@ int kbd_input(char* text, int buflen)
kbd_spellchar(text[c]);
}
break;
#endif /* !KBD_MODES */
#endif /* !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS) */
case BUTTON_NONE:
gui_syncstatusbar_draw(&statusbars, false);