CreateYourKeyboard

= Make your own language keyboard for Multikey =

1. Copy en.keymap to be template for your new keyboard.

cp /opt/QtPalmtop/share/multikey/en.keymap /opt/QtPalmtop/share/multikey/th.keymap

th.keymap shall be changed to your own country.

2. Edit content of th.keymap


 * 1) comment lines must start with a '#' (for now...)
 * 2) order is: row qcode unicode length blah
 * 3) please don't write anything between a key definition and its xpm (except for s
 * 1) please don't write anything between a key definition and its xpm (except for s

title = English sw = EN

Change Title and sw to your own language. (sw is shown at taskbar)

For example I make Thai keyboard as

title = Thai sw = TH

Then change the contents as wish.

1 0        0x60    2  # but not after xpm images... k?want after the last eleme 1 0        0x31    2 1 0        0x32    2 1 0        0x33    2 1 0        0x34    2 1 0        0x35    2 1 0        0x36    2 1 0        0x37    2 1 0        0x38    2 1 0        0x39    2 1 0        0x30    2 1 0        0x2d    2 1 0        0x3d    2 1 0x1003   0       2

1 0 means first row of keyboard. you and see that it ascii code of `1234567890-= 2 0 is second row 3 0 is third row 4 0 is forth row

You now then have to know your language ascii or unicode. Then replace it as you want.

Ascii is number that less than 0xff. Unicode is number that have more than 2 digits such as 0xe01 is the first letter of Thai.

Feel free to change trial and error until you satisfy with new keyboard.

After you finish keyboard with out shift. Now you have to modify to have shift keyboard.


 * 1) shift table
 * 2) add xpm support for these keys too?

0x60 0x7e 0xe45 0x2b 0x2f 0xe51 0x2d 0xe52 0xe20 0xe53
 * 1) unshifed shifted

Just change the number behind first number to get shift keyboard. That's it.

-

Here is Thai Ansi Example keyboard that I made to use with konqueror.

title = ThaiAnsi sw=TH
 * 1) comment lines must start with a '#' (for now...)
 * 2) order is: row qcode unicode length blah
 * 3) please don't write anything between a key definition and its xpm (except for spaces)
 * 1) please don't write anything between a key definition and its xpm (except for spaces)

1 0x1000   0       2 # and you can write whatever you want after the last element

"9 9 2 1"   ". c None" "a c #000000" "........."   "........."    ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........."   "........."

1 0        0x60    2  # but not after xpm images... k? 1 0        0xe5    2 1 0        0x2f     2 1 0        0x2d    2 1 0        0xc0    2 1 0        0xb6    2 1 0        0xd8    2 1 0        0xd6    2 1 0        0xa4    2 1 0        0xb5    2 1 0        0xa8    2 1 0        0xa2    2 1 0        0xaa    2 1 0x1003   0       2

"9 9 2 1"       ". c None" "a c #000000" "........."       "........."        "...a....." "..aa....." ".aaaaaaaa" "..aa....." "...a....." "........."       "........."

2 0x1001   0x9     3 # tab char, but why doesnt this work...?

"11 9 2 1"       ". c None" "a c #000000" "..........."       "..........."        ".....a..a.." ".....aa.a.." ".aaaaaaaa.." ".....aa.a.." ".....a..a.." "..........."       "..........." 2 0         0xe6    2 2 0        0xe4    2 2 0        0xd3    2 2 0        0xbe    2 2 0        0xd0    2 2 0        0xd1    2 2 0        0xd5    2 2 0        0xc3    2 2 0        0xb9    2 2 0        0xc2    2 2 0        0xba    2 2 0        0xc5    2 2 0        0xa3    2

3 0x1024   0       4 "17 7 2 1"       "   c None" ". c #000000" "                "        "  ..  .  ..   .. "        " .   . . . . .   "        " .   ... ..   .  "        " .   . . .     . "        "  .. . . .   ..  "        "                 " 3 0         0xbf    2 3 0        0xcb    2 3 0        0xa1    2 3 0        0xb4    2 3 0        0xe0    2 3 0        0xe9    2 3 0        0xe8    2 3 0        0xd2    2 3 0        0xca    2 3 0        0xc7    2 3 0        0xa7    2

3 0x1004   0       4 # enter "16 9 2 1"       ". c None" "a c #000000" "................"       "................"        "...........a...." "....aa.....a...." "...aa......a...." "..aaaaaaaaaa...." "...aa..........." "....aa.........." "................"

4 0x1020   0       5 "21 7 2 1"       "   c None" ". c #000000" "                    "        "  .. . . ... ... ... "        " .   . .  .  .    .  "        "  .  ...  .  ..   .  "        "   . . .  .  .    .  "        " ..  . . ... .    .  "        "                     " 4 0         0xbc    2 4 0        0xbb    2 4 0        0xe1    2 4 0        0xcd    2 4 0        0xd4    2 4 0        0xd7    2 4 0        0xb7    2 4 0        0xc1    2 4 0        0xe3    2 4 0        0xbd    2 4 0x1020   0       5 "21 7 2 1"       "   c None" ". c #000000" "                    "        "  .. . . ... ... ... "        " .   . .  .  .    .  "        "  .  ...  .  ..   .  "        "   . . .  .  .    .  "        " ..  . . ... .    .  "        "                     "

5 0x1021   0       3 "17 7 2 1"       "   c None" ". c #000000" "                "        "  .. ... ..  .   "        " .    .  . . .   "        " .    .  ..  .   "        " .    .  . . .   "        "  ..  .  . . ... "        "                 " 5 0x1023    0       3 "13 7 2 1"       "   c None" ". c #000000" "            "        "  .  .   ... "        " . . .    .  "        " ... .    .  "        " . . .    .  "        " . . ...  .  "        "             " 5 0         0x20    16 5 0x1023   0       3 "13 7 2 1"       "   c None" ". c #000000" "            "        "  .  .   ... "        " . . .    .  "        " ... .    .  "        " . . .    .  "        " . . ...  .  "        "             " 5 0x1021    0       3 "17 7 2 1"       "   c None" ". c #000000" "                "        "  .. ... ..  .   "        " .    .  . . .   "        " .    .  ..  .   "        " .    .  . . .   "        "  ..  .  . . ... "        "                 " 5 0x1030    0       2 #original code is F1, but i'll use it for turning on/off the config dialog "13 7 2 1"       "   c None" ". c #000000" "            "        "      .      "        "     ...     "        "    .....    "        "      .      "        "      .      "        "             "
 * 1) shift table
 * 2) add xpm support for these keys too?

0x60 0x7e 0xe5 0x2b 0x2f  0xf1 0x2d 0xf2 0xc0 0xf3 0xb6 0xf4 0xd8 0xd9 0xd6 0xdf 0xa4 0xf5 0xb5 0xf6 0xa8 0xf7 0xa2 0xf8 0xaa 0xf9
 * 1) unshifed shifted

0xe6 0xf0 0xe4 0x22 0xd3 0xae 0xbe 0xb1 0xd0 0xb8 0xd1 0xed 0xd5 0xea 0xc3 0xb3 0xb9 0xcf 0xc2 0xad 0xba 0xb0 0xc5 0x2c 0xa3 0xa5

0xbf 0xc4 0xcb 0xa6 0xa1 0xaf 0xb4 0xe2 0xe0 0xac 0xe9 0xe7 0xe8 0xeb 0xd2 0xc9 0xca 0xc8 0xc7 0xab 0xa7 0x2e

0xbc 0x28 0xbb 0x29 0xe1 0xa9 0xcd 0xce 0xd4 0xda 0xd7 0xec 0xb7 0x3f 0xc1 0xb2 0xe3 0xcc 0xbd 0xc6

same content here: http://en.pdamobiz.com/en/forum/forum_posts.asp?TID=200&PN=1&TPN=1