summaryrefslogtreecommitdiff
authorhash <hash>2002-08-22 06:05:44 (UTC)
committer hash <hash>2002-08-22 06:05:44 (UTC)
commit973e3252dd875b03d750e9b5389e3f70f3365155 (patch) (unidiff)
treea9e5aa1b781c61e627f295993c505734a85c8e80
parent30164ec5197c35870a0c02bbcec01bd58d61f86e (diff)
downloadopie-973e3252dd875b03d750e9b5389e3f70f3365155.zip
opie-973e3252dd875b03d750e9b5389e3f70f3365155.tar.gz
opie-973e3252dd875b03d750e9b5389e3f70f3365155.tar.bz2
add info about meta-alt
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
@@ -6,36 +6,52 @@ language 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
@@ -187,65 +187,65 @@
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 " "