summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--share/multikey/README16
-rw-r--r--share/multikey/de.keymap2
2 files changed, 17 insertions, 1 deletions
diff --git a/share/multikey/README b/share/multikey/README
index c5e19f9..beed768 100644
--- a/share/multikey/README
+++ b/share/multikey/README
@@ -1,41 +1,57 @@
+---- how to make your own keymap file. ----+
first of all, later on you will be able to choose the keymap, but right now it
selects the keymap according to your language setting. for example, if your
language is "ko", it will select $OPIE_DIR/share/multikey/ko.keymap for the
keymap. so if you want to make a german keymap, copy the en.keymap file to
de.keymap, and edit it.
your best friend is xmbfed. open the unicode font that is in
$QT_DIR/lib/fonts/unifont.bdf and search for the characters you want to input.
in the keymap file, the columns are...
+--- row number (there are 5 rows)
| +- qcode (used for special chars like enter, escape, etc...)
| |
v v
1 0 0x36 2
^ ^
| |
| +---- width of key (default key should be 2)
+--- the unicode value (the one you see in xmbded)
so, lets say you want to edit the 5th key on the 2nd row. find the 5th line
that starts with 2, and replace the 3rd column with the code you found in
xmbdfed. save the file and test it out by restarting opie, or running
host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()"
it worked, right? if all you see is a square in it's place, that means your
default font doesn't have that char. go to appearance and change the font to
one that has that char.
and if you want, you can have an image as the label instead of the char itself.
just draw the xpm image in gimp or something, save it, open it in your text
editor, cut off all the surrounding stuff and leave only the stuff between the
" chars. place that after your key definition. not too hard, right?
+about shift and meta characters. to place chars in the shift map, the line
+should consist of two columns. the non-shifted char and the shifted char. for
+example.
+
+0x36 0x46
+
+so, 0x36 shifted is 0x46. and for meta chars. the reason why you have this
+feature is because of languages like german, where you can hold down the
+meta-alt key and enter in other special characters. it's like having
+a second shift. to add chars to this map, you do the following.
+
+m 0x36 0x84
+
+and here, if you hold down the meta-alt and hit the 0x36 key, 0x84 would be
+input. get it?
+
if you have problems, suggestions, or just want to tell me something, you can
contact me at jake at asdfnews.org
jake richardson
diff --git a/share/multikey/de.keymap b/share/multikey/de.keymap
index 66b2ed5..12f470a 100644
--- a/share/multikey/de.keymap
+++ b/share/multikey/de.keymap
@@ -27,225 +27,225 @@
0x32 0x22 # shi....
1 0 0x33 2
0x33 0xa7
1 0 0x34 2
0x34 0x24
1 0 0x35 2
0x35 0x25
1 0 0x36 2
0x36 0x26
1 0 0x37 2
0x37 0x2f
1 0 0x38 2
0x38 0x28
1 0 0x39 2
0x39 0x29
1 0 0x30 2
0x30 0x3d
1 0 0xdf 2
0xdf 0x3f
1 0x1003 0 2
"9 9 2 1"
"a c #000000"
". c None"
"........."
"........."
"...a....."
"..aa....."
".aaaaaaaa"
"..aa....."
"...a....."
"........."
"........."
2 0 0x9 3 # tab char, but why doesnt this work...?
"11 9 2 1"
"a c #000000"
". c None"
"..........."
"..........."
".....a..a.."
".....aa.a.."
".aaaaaaaa.."
".....aa.a.."
".....a..a.."
"..........."
"..........."
2 0 0x71 2
0x71 0x51
2 0 0x77 2
0x77 0x57
2 0 0x65 2
0x65 0x45
2 0 0x72 2
0x72 0x52
2 0 0x74 2
0x74 0x54
2 0 0x7a 2
0x7a 0x5a
2 0 0x75 2
0x75 0x55
2 0 0x69 2
0x69 0x49
2 0 0x6f 2
0x6f 0x4f
2 0 0x70 2
0x70 0x50
2 0 0xfc 2
0xfc 0xdc
2 0 0x2b 2
0x2b 0x2a
2 0 0x23 2
0x23 0x27
3 0x1024 0 4
"17 7 2 1"
" c None"
". c #000000"
" "
" .. . .. .. "
" . . . . . . "
" . ... .. . "
" . . . . . "
" .. . . . .. "
" "
3 0 0x61 2
0x61 0x41
3 0 0x73 2
0x73 0x53
3 0 0x64 2
0x64 0x44
3 0 0x66 2
0x66 0x46
3 0 0x67 2
0x67 0x47
3 0 0x68 2
0x68 0x48
3 0 0x6a 2
0x6a 0x4a
3 0 0x6b 2
0x6b 0x4b
3 0 0x6c 2
0x6c 0x4c
3 0 0xf6 2
0xf6 0xd6
3 0 0xe4 2
0xe4 0xc4
3 0x1004 0 4 # enter
"16 9 2 1"
"a c #000000"
". c None"
"................"
"................"
"...........a...."
"....aa.....a...."
"...aa......a...."
"..aaaaaaaaaa...."
"...aa..........."
"....aa.........."
"................"
4 0x1020 0 5
"21 7 2 1"
" c None"
". c #000000"
" "
" .. . . ... ... ... "
" . . . . . . "
" . ... . .. . "
" . . . . . . "
" .. . . ... . . "
" "
4 0 0x3c 2
0x3c 0x3e
4 0 0x79 2
0x79 0x59
4 0 0x78 2
0x78 0x58
4 0 0x63 2
0x63 0x43
4 0 0x76 2
0x76 0x56
4 0 0x62 2
0x62 0x42
4 0 0x6e 2
0x6e 0x4e
4 0 0x6d 2
0x6d 0x4d
4 0 0x2c 2
0x2c 0x3b
4 0 0x2e 2
0x2e 0x3a
4 0 0x2d 2
0x2d 0x5f
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
+5 0x1022 0 3 # meta alt key
"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"
" "
" . "
" ... "
" ..... "
" . "
" . "
" "