1
0
Fork 0
forked from len0rd/rockbox

Fixed the misplaced w and v in morse input and removed scandinavian

characters for now to support utf8.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8273 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-12-21 12:46:50 +00:00
parent f286072941
commit 783428d2ee

View file

@ -151,11 +151,11 @@ static const char * const kbdpages[KEYBOARD_PAGES][KEYBOARD_LINES] = {
#ifdef HAVE_MORSE_INPUT #ifdef HAVE_MORSE_INPUT
/* FIXME: We should put this to a configuration file. */ /* FIXME: We should put this to a configuration file. */
static const char *morse_alphabets = static const char *morse_alphabets =
"abcdefghijklmnopqrstuwvxyzåäö1234567890,.?-@ "; "abcdefghijklmnopqrstuvwxyz1234567890,.?-@ ";
static const unsigned char morse_codes[] = { static const unsigned char morse_codes[] = {
0x05,0x18,0x1a,0x0c,0x02,0x12,0x0e,0x10,0x04,0x17,0x0d,0x14,0x07, 0x05,0x18,0x1a,0x0c,0x02,0x12,0x0e,0x10,0x04,0x17,0x0d,0x14,0x07,
0x06,0x0f,0x16,0x1d,0x0a,0x08,0x03,0x09,0x11,0x0b,0x19,0x1b,0x1c, 0x06,0x0f,0x16,0x1d,0x0a,0x08,0x03,0x09,0x11,0x0b,0x19,0x1b,0x1c,
0x2d,0x15,0x1e,0x2f,0x27,0x23,0x21,0x20,0x30,0x38,0x3c,0x3e,0x3f, 0x2f,0x27,0x23,0x21,0x20,0x30,0x38,0x3c,0x3e,0x3f,
0x73,0x55,0x4c,0x61,0x5a,0x80 }; 0x73,0x55,0x4c,0x61,0x5a,0x80 };
static bool morse_mode = false; static bool morse_mode = false;