author | hash <hash> | 2002-08-14 05:56:01 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-14 05:56:01 (UTC) |
commit | bc837a01bb47d552dff317f8373608ed1c649768 (patch) (unidiff) | |
tree | cd4d95baa48d79e93e3e20468b03b52b5a4d52fd | |
parent | 622bcc8878a081111e11646945f52b0406f1d21c (diff) | |
download | opie-bc837a01bb47d552dff317f8373608ed1c649768.zip opie-bc837a01bb47d552dff317f8373608ed1c649768.tar.gz opie-bc837a01bb47d552dff317f8373608ed1c649768.tar.bz2 |
just added something about reloading the inputmethod without restarting the whole damn opie
-rw-r--r-- | share/multikey/README | 10 | ||||
-rw-r--r-- | share/multikey/en.keymap | 14 |
2 files changed, 15 insertions, 9 deletions
diff --git a/share/multikey/README b/share/multikey/README index 4c6bd23..c5e19f9 100644 --- a/share/multikey/README +++ b/share/multikey/README | |||
@@ -17,19 +17,23 @@ v v | |||
17 | 1 0 0x36 2 | 17 | 1 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 | ||
23 | so, lets say you want to edit the 5th key on the 2nd row. find the 5th line | 23 | so, lets say you want to edit the 5th key on the 2nd row. find the 5th line |
24 | that starts with 2, and replace the 3rd column with the code you found in | 24 | that starts with 2, and replace the 3rd column with the code you found in |
25 | xmbdfed. save the file and test it out by restarting opie. it worked, right? | 25 | xmbdfed. save the file and test it out by restarting opie, or running |
26 | if all you see is a square in it's place, that means your default font doesn't | 26 | |
27 | have that char. go to appearance and change the font to one that has that char. | 27 | host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()" |
28 | |||
29 | it worked, right? if all you see is a square in it's place, that means your | ||
30 | default font doesn't have that char. go to appearance and change the font to | ||
31 | one that has that char. | ||
28 | 32 | ||
29 | and if you want, you can have an image as the label instead of the char itself. | 33 | and if you want, you can have an image as the label instead of the char itself. |
30 | just draw the xpm image in gimp or something, save it, open it in your text | 34 | just draw the xpm image in gimp or something, save it, open it in your text |
31 | editor, cut off all the surrounding stuff and leave only the stuff between the | 35 | editor, cut off all the surrounding stuff and leave only the stuff between the |
32 | " chars. place that after your key definition. not too hard, right? | 36 | " chars. place that after your key definition. not too hard, right? |
33 | 37 | ||
34 | if you have problems, suggestions, or just want to tell me something, you can | 38 | if you have problems, suggestions, or just want to tell me something, you can |
35 | contact me at jake at asdfnews.org | 39 | contact me at jake at asdfnews.org |
diff --git a/share/multikey/en.keymap b/share/multikey/en.keymap index 623c6ee..e312dba 100644 --- a/share/multikey/en.keymap +++ b/share/multikey/en.keymap | |||
@@ -186,29 +186,31 @@ | |||
186 | ". c #000000" | 186 | ". c #000000" |
187 | " " | 187 | " " |
188 | " .. ... .. . " | 188 | " .. ... .. . " |
189 | " . . . . . " | 189 | " . . . . . " |
190 | " . . .. . " | 190 | " . . .. . " |
191 | " . . . . . " | 191 | " . . . . . " |
192 | " .. . . . ... " | 192 | " .. . . . ... " |
193 | " " | 193 | " " |
194 | 5 0x1030 0 2 #original code is F1, but i'll use it for turning on/off pickboard | 194 | 5 0x1030 0 2 #original code is F1, but i'll use it for turning on/off the config dialog |
195 | "13 7 2 1" | 195 | "13 7 2 1" |
196 | " c None" | 196 | " c None" |
197 | ". c #000000" | 197 | ". c #000000" |
198 | " " | 198 | " " |
199 | " .. ... .. " | 199 | " . " |
200 | " . . . . " | 200 | " ... " |
201 | " .. . . " | 201 | " ..... " |
202 | " . . . " | 202 | " . " |
203 | " . ... .. " | 203 | " . " |
204 | " " | 204 | " " |
205 | # shift table | 205 | # shift table |
206 | # add xpm support for these keys too? | 206 | # add xpm support for these keys too? |
207 | |||
208 | # unshifed shifted | ||
207 | 0x60 0x7e | 209 | 0x60 0x7e |
208 | 0x31 0x21 | 210 | 0x31 0x21 |
209 | 0x32 0x40 | 211 | 0x32 0x40 |
210 | 0x33 0x23 | 212 | 0x33 0x23 |
211 | 0x34 0x24 | 213 | 0x34 0x24 |
212 | 0x35 0x25 | 214 | 0x35 0x25 |
213 | 0x36 0x5e | 215 | 0x36 0x5e |
214 | 0x37 0x26 | 216 | 0x37 0x26 |