summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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 @@
1+---- how to make your own keymap file. ----+ 1+---- how to make your own keymap file. ----+
2 2
3first of all, later on you will be able to choose the keymap, but right now it 3first of all, later on you will be able to choose the keymap, but right now it
4selects the keymap according to your language setting. for example, if your 4selects the keymap according to your language setting. for example, if your
5language is "ko", it will select $OPIE_DIR/share/multikey/ko.keymap for the 5language is "ko", it will select $OPIE_DIR/share/multikey/ko.keymap for the
6keymap. so if you want to make a german keymap, copy the en.keymap file to 6keymap. so if you want to make a german keymap, copy the en.keymap file to
7de.keymap, and edit it. 7de.keymap, and edit it.
8 8
9your best friend is xmbfed. open the unicode font that is in 9your best friend is xmbfed. open the unicode font that is in
10$QT_DIR/lib/fonts/unifont.bdf and search for the characters you want to input. 10$QT_DIR/lib/fonts/unifont.bdf and search for the characters you want to input.
11in the keymap file, the columns are... 11in the keymap file, the columns are...
12 12
13+--- row number (there are 5 rows) 13+--- row number (there are 5 rows)
14| +- qcode (used for special chars like enter, escape, etc...) 14| +- qcode (used for special chars like enter, escape, etc...)
15| | 15| |
16v v 16v v
171 0 0x36 2 171 0 0x36 2
18 ^ ^ 18 ^ ^
19 | | 19 | |
20 | +---- width of key (default key should be 2) 20 | +---- width of key (default key should be 2)
21 +--- the unicode value (the one you see in xmbded) 21 +--- the unicode value (the one you see in xmbded)
22 22
23so, lets say you want to edit the 5th key on the 2nd row. find the 5th line 23so, lets say you want to edit the 5th key on the 2nd row. find the 5th line
24that starts with 2, and replace the 3rd column with the code you found in 24that starts with 2, and replace the 3rd column with the code you found in
25xmbdfed. save the file and test it out by restarting opie, or running 25xmbdfed. save the file and test it out by restarting opie, or running
26 26
27host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()" 27host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()"
28 28
29it worked, right? if all you see is a square in it's place, that means your 29it worked, right? if all you see is a square in it's place, that means your
30default font doesn't have that char. go to appearance and change the font to 30default font doesn't have that char. go to appearance and change the font to
31one that has that char. 31one that has that char.
32 32
33and if you want, you can have an image as the label instead of the char itself. 33and if you want, you can have an image as the label instead of the char itself.
34just draw the xpm image in gimp or something, save it, open it in your text 34just draw the xpm image in gimp or something, save it, open it in your text
35editor, cut off all the surrounding stuff and leave only the stuff between the 35editor, cut off all the surrounding stuff and leave only the stuff between the
36" chars. place that after your key definition. not too hard, right? 36" chars. place that after your key definition. not too hard, right?
37 37
38about shift and meta characters. to place chars in the shift map, the line
39should consist of two columns. the non-shifted char and the shifted char. for
40example.
41
420x36 0x46
43
44so, 0x36 shifted is 0x46. and for meta chars. the reason why you have this
45feature is because of languages like german, where you can hold down the
46meta-alt key and enter in other special characters. it's like having
47a second shift. to add chars to this map, you do the following.
48
49m 0x36 0x84
50
51and here, if you hold down the meta-alt and hit the 0x36 key, 0x84 would be
52input. get it?
53
38if you have problems, suggestions, or just want to tell me something, you can 54if you have problems, suggestions, or just want to tell me something, you can
39contact me at jake at asdfnews.org 55contact me at jake at asdfnews.org
40 56
41jake richardson 57jake 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
@@ -1,251 +1,251 @@
1# comment lines must start with a '#' (for now...) 1# comment lines must start with a '#' (for now...)
2# order is: row qcode unicode length blah 2# order is: row qcode unicode length blah
3# 3#
4# please don't write anything between a key definition and it's xpm (excpet for spaces) 4# please don't write anything between a key definition and it's xpm (excpet for spaces)
5 5
61 0x1000 0 2 # and you can write whatever you want after the last element 61 0x1000 0 2 # and you can write whatever you want after the last element
7 7
8 8
9 "9 9 2 1" 9 "9 9 2 1"
10 "a c #000000" 10 "a c #000000"
11 ". c None" 11 ". c None"
12 "........." 12 "........."
13 "........." 13 "........."
14 ".aa.aa.aa" 14 ".aa.aa.aa"
15 ".a..a..a." 15 ".a..a..a."
16 ".aa.aa.a." 16 ".aa.aa.a."
17 ".a...a.a." 17 ".a...a.a."
18 ".aa.aa.aa" 18 ".aa.aa.aa"
19 "........." 19 "........."
20 "........." 20 "........."
21 21
221 0 0x60 2 # but not after xpm images... k? 221 0 0x60 2 # but not after xpm images... k?
230x60 0x7e # shifted 230x60 0x7e # shifted
241 0 0x31 2 241 0 0x31 2
250x31 0x21 # shifted 250x31 0x21 # shifted
261 0 0x32 2 261 0 0x32 2
270x32 0x22 # shi.... 270x32 0x22 # shi....
281 0 0x33 2 281 0 0x33 2
290x33 0xa7 290x33 0xa7
301 0 0x34 2 301 0 0x34 2
310x34 0x24 310x34 0x24
321 0 0x35 2 321 0 0x35 2
330x35 0x25 330x35 0x25
341 0 0x36 2 341 0 0x36 2
350x36 0x26 350x36 0x26
361 0 0x37 2 361 0 0x37 2
370x37 0x2f 370x37 0x2f
381 0 0x38 2 381 0 0x38 2
390x38 0x28 390x38 0x28
401 0 0x39 2 401 0 0x39 2
410x39 0x29 410x39 0x29
421 0 0x30 2 421 0 0x30 2
430x30 0x3d 430x30 0x3d
441 0 0xdf 2 441 0 0xdf 2
450xdf 0x3f 450xdf 0x3f
461 0x1003 0 2 461 0x1003 0 2
47 47
48 "9 9 2 1" 48 "9 9 2 1"
49 "a c #000000" 49 "a c #000000"
50 ". c None" 50 ". c None"
51 "........." 51 "........."
52 "........." 52 "........."
53 "...a....." 53 "...a....."
54 "..aa....." 54 "..aa....."
55 ".aaaaaaaa" 55 ".aaaaaaaa"
56 "..aa....." 56 "..aa....."
57 "...a....." 57 "...a....."
58 "........." 58 "........."
59 "........." 59 "........."
60 60
61 61
622 0 0x9 3 # tab char, but why doesnt this work...? 622 0 0x9 3 # tab char, but why doesnt this work...?
63 63
64 64
65 "11 9 2 1" 65 "11 9 2 1"
66 "a c #000000" 66 "a c #000000"
67 ". c None" 67 ". c None"
68 "..........." 68 "..........."
69 "..........." 69 "..........."
70 ".....a..a.." 70 ".....a..a.."
71 ".....aa.a.." 71 ".....aa.a.."
72 ".aaaaaaaa.." 72 ".aaaaaaaa.."
73 ".....aa.a.." 73 ".....aa.a.."
74 ".....a..a.." 74 ".....a..a.."
75 "..........." 75 "..........."
76 "..........." 76 "..........."
772 0 0x71 2 772 0 0x71 2
780x71 0x51 780x71 0x51
792 0 0x77 2 792 0 0x77 2
800x77 0x57 800x77 0x57
812 0 0x65 2 812 0 0x65 2
820x65 0x45 820x65 0x45
832 0 0x72 2 832 0 0x72 2
840x72 0x52 840x72 0x52
852 0 0x74 2 852 0 0x74 2
860x74 0x54 860x74 0x54
872 0 0x7a 2 872 0 0x7a 2
880x7a 0x5a 880x7a 0x5a
892 0 0x75 2 892 0 0x75 2
900x75 0x55 900x75 0x55
912 0 0x69 2 912 0 0x69 2
920x69 0x49 920x69 0x49
932 0 0x6f 2 932 0 0x6f 2
940x6f 0x4f 940x6f 0x4f
952 0 0x70 2 952 0 0x70 2
960x70 0x50 960x70 0x50
972 0 0xfc 2 972 0 0xfc 2
980xfc 0xdc 980xfc 0xdc
992 0 0x2b 2 992 0 0x2b 2
1000x2b 0x2a 1000x2b 0x2a
1012 0 0x23 2 1012 0 0x23 2
1020x23 0x27 1020x23 0x27
103 103
1043 0x1024 0 4 1043 0x1024 0 4
105 "17 7 2 1" 105 "17 7 2 1"
106 " c None" 106 " c None"
107 ". c #000000" 107 ". c #000000"
108 " " 108 " "
109 " .. . .. .. " 109 " .. . .. .. "
110 " . . . . . . " 110 " . . . . . . "
111 " . ... .. . " 111 " . ... .. . "
112 " . . . . . " 112 " . . . . . "
113 " .. . . . .. " 113 " .. . . . .. "
114 " " 114 " "
1153 0 0x61 2 1153 0 0x61 2
1160x61 0x41 1160x61 0x41
1173 0 0x73 2 1173 0 0x73 2
1180x73 0x53 1180x73 0x53
1193 0 0x64 2 1193 0 0x64 2
1200x64 0x44 1200x64 0x44
1213 0 0x66 2 1213 0 0x66 2
1220x66 0x46 1220x66 0x46
1233 0 0x67 2 1233 0 0x67 2
1240x67 0x47 1240x67 0x47
1253 0 0x68 2 1253 0 0x68 2
1260x68 0x48 1260x68 0x48
1273 0 0x6a 2 1273 0 0x6a 2
1280x6a 0x4a 1280x6a 0x4a
1293 0 0x6b 2 1293 0 0x6b 2
1300x6b 0x4b 1300x6b 0x4b
1313 0 0x6c 2 1313 0 0x6c 2
1320x6c 0x4c 1320x6c 0x4c
1333 0 0xf6 2 1333 0 0xf6 2
1340xf6 0xd6 1340xf6 0xd6
1353 0 0xe4 2 1353 0 0xe4 2
1360xe4 0xc4 1360xe4 0xc4
1373 0x1004 0 4 # enter 1373 0x1004 0 4 # enter
138 "16 9 2 1" 138 "16 9 2 1"
139 "a c #000000" 139 "a c #000000"
140 ". c None" 140 ". c None"
141 "................" 141 "................"
142 "................" 142 "................"
143 "...........a...." 143 "...........a...."
144 "....aa.....a...." 144 "....aa.....a...."
145 "...aa......a...." 145 "...aa......a...."
146 "..aaaaaaaaaa...." 146 "..aaaaaaaaaa...."
147 "...aa..........." 147 "...aa..........."
148 "....aa.........." 148 "....aa.........."
149 "................" 149 "................"
150 150
1514 0x1020 0 5 1514 0x1020 0 5
152 "21 7 2 1" 152 "21 7 2 1"
153 " c None" 153 " c None"
154 ". c #000000" 154 ". c #000000"
155 " " 155 " "
156 " .. . . ... ... ... " 156 " .. . . ... ... ... "
157 " . . . . . . " 157 " . . . . . . "
158 " . ... . .. . " 158 " . ... . .. . "
159 " . . . . . . " 159 " . . . . . . "
160 " .. . . ... . . " 160 " .. . . ... . . "
161 " " 161 " "
1624 0 0x3c 2 1624 0 0x3c 2
1630x3c 0x3e 1630x3c 0x3e
1644 0 0x79 2 1644 0 0x79 2
1650x79 0x59 1650x79 0x59
1664 0 0x78 2 1664 0 0x78 2
1670x78 0x58 1670x78 0x58
1684 0 0x63 2 1684 0 0x63 2
1690x63 0x43 1690x63 0x43
1704 0 0x76 2 1704 0 0x76 2
1710x76 0x56 1710x76 0x56
1724 0 0x62 2 1724 0 0x62 2
1730x62 0x42 1730x62 0x42
1744 0 0x6e 2 1744 0 0x6e 2
1750x6e 0x4e 1750x6e 0x4e
1764 0 0x6d 2 1764 0 0x6d 2
1770x6d 0x4d 1770x6d 0x4d
1784 0 0x2c 2 1784 0 0x2c 2
1790x2c 0x3b 1790x2c 0x3b
1804 0 0x2e 2 1804 0 0x2e 2
1810x2e 0x3a 1810x2e 0x3a
1824 0 0x2d 2 1824 0 0x2d 2
1830x2d 0x5f 1830x2d 0x5f
1844 0x1020 0 5 1844 0x1020 0 5
185 "21 7 2 1" 185 "21 7 2 1"
186 " c None" 186 " c None"
187 ". c #000000" 187 ". c #000000"
188 " " 188 " "
189 " .. . . ... ... ... " 189 " .. . . ... ... ... "
190 " . . . . . . " 190 " . . . . . . "
191 " . ... . .. . " 191 " . ... . .. . "
192 " . . . . . . " 192 " . . . . . . "
193 " .. . . ... . . " 193 " .. . . ... . . "
194 " " 194 " "
195 195
1965 0x1021 0 3 1965 0x1021 0 3
197 "17 7 2 1" 197 "17 7 2 1"
198 " c None" 198 " c None"
199 ". c #000000" 199 ". c #000000"
200 " " 200 " "
201 " .. ... .. . " 201 " .. ... .. . "
202 " . . . . . " 202 " . . . . . "
203 " . . .. . " 203 " . . .. . "
204 " . . . . . " 204 " . . . . . "
205 " .. . . . ... " 205 " .. . . . ... "
206 " " 206 " "
2075 0x1023 0 3 2075 0x1023 0 3
208 "13 7 2 1" 208 "13 7 2 1"
209 " c None" 209 " c None"
210 ". c #000000" 210 ". c #000000"
211 " " 211 " "
212 " . . ... " 212 " . . ... "
213 " . . . . " 213 " . . . . "
214 " ... . . " 214 " ... . . "
215 " . . . . " 215 " . . . . "
216 " . . ... . " 216 " . . ... . "
217 " " 217 " "
2185 0 0x20 16 2185 0 0x20 16
2195 0x1023 0 3 2195 0x1022 0 3 # meta alt key
220 "13 7 2 1" 220 "13 7 2 1"
221 " c None" 221 " c None"
222 ". c #000000" 222 ". c #000000"
223 " " 223 " "
224 " . . ... " 224 " . . ... "
225 " . . . . " 225 " . . . . "
226 " ... . . " 226 " ... . . "
227 " . . . . " 227 " . . . . "
228 " . . ... . " 228 " . . ... . "
229 " " 229 " "
2305 0x1021 0 3 2305 0x1021 0 3
231 "17 7 2 1" 231 "17 7 2 1"
232 " c None" 232 " c None"
233 ". c #000000" 233 ". c #000000"
234 " " 234 " "
235 " .. ... .. . " 235 " .. ... .. . "
236 " . . . . . " 236 " . . . . . "
237 " . . .. . " 237 " . . .. . "
238 " . . . . . " 238 " . . . . . "
239 " .. . . . ... " 239 " .. . . . ... "
240 " " 240 " "
2415 0x1030 0 2 #original code is F1, but i'll use it for turning on/off the config dialog 2415 0x1030 0 2 #original code is F1, but i'll use it for turning on/off the config dialog
242 "13 7 2 1" 242 "13 7 2 1"
243 " c None" 243 " c None"
244 ". c #000000" 244 ". c #000000"
245 " " 245 " "
246 " . " 246 " . "
247 " ... " 247 " ... "
248 " ..... " 248 " ..... "
249 " . " 249 " . "
250 " . " 250 " . "
251 " " 251 " "