summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--share/multikey/README10
-rw-r--r--share/multikey/en.keymap14
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
@@ -1,37 +1,41 @@
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. it worked, right? 25xmbdfed. save the file and test it out by restarting opie, or running
26if all you see is a square in it's place, that means your default font doesn't 26
27have that char. go to appearance and change the font to one that has that char. 27host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()"
28
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
31one that has that char.
28 32
29and 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.
30just 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
31editor, 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
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
34if you have problems, suggestions, or just want to tell me something, you can 38if you have problems, suggestions, or just want to tell me something, you can
35contact me at jake at asdfnews.org 39contact me at jake at asdfnews.org
36 40
37jake richardson 41jake richardson
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
@@ -130,128 +130,130 @@
1304 0 0x76 2 1304 0 0x76 2
1314 0 0x62 2 1314 0 0x62 2
1324 0 0x6e 2 1324 0 0x6e 2
1334 0 0x6d 2 1334 0 0x6d 2
1344 0 0x2c 2 1344 0 0x2c 2
1354 0 0x2e 2 1354 0 0x2e 2
1364 0 0x2f 2 1364 0 0x2f 2
1374 0x1020 0 5 1374 0x1020 0 5
138 "21 7 2 1" 138 "21 7 2 1"
139 " c None" 139 " c None"
140 ". c #000000" 140 ". c #000000"
141 " " 141 " "
142 " .. . . ... ... ... " 142 " .. . . ... ... ... "
143 " . . . . . . " 143 " . . . . . . "
144 " . ... . .. . " 144 " . ... . .. . "
145 " . . . . . . " 145 " . . . . . . "
146 " .. . . ... . . " 146 " .. . . ... . . "
147 " " 147 " "
148 148
1495 0x1021 0 3 1495 0x1021 0 3
150 "17 7 2 1" 150 "17 7 2 1"
151 " c None" 151 " c None"
152 ". c #000000" 152 ". c #000000"
153 " " 153 " "
154 " .. ... .. . " 154 " .. ... .. . "
155 " . . . . . " 155 " . . . . . "
156 " . . .. . " 156 " . . .. . "
157 " . . . . . " 157 " . . . . . "
158 " .. . . . ... " 158 " .. . . . ... "
159 " " 159 " "
1605 0x1023 0 3 1605 0x1023 0 3
161 "13 7 2 1" 161 "13 7 2 1"
162 " c None" 162 " c None"
163 ". c #000000" 163 ". c #000000"
164 " " 164 " "
165 " . . ... " 165 " . . ... "
166 " . . . . " 166 " . . . . "
167 " ... . . " 167 " ... . . "
168 " . . . . " 168 " . . . . "
169 " . . ... . " 169 " . . ... . "
170 " " 170 " "
1715 0 0x20 16 1715 0 0x20 16
1725 0x1023 0 3 1725 0x1023 0 3
173 "13 7 2 1" 173 "13 7 2 1"
174 " c None" 174 " c None"
175 ". c #000000" 175 ". c #000000"
176 " " 176 " "
177 " . . ... " 177 " . . ... "
178 " . . . . " 178 " . . . . "
179 " ... . . " 179 " ... . . "
180 " . . . . " 180 " . . . . "
181 " . . ... . " 181 " . . ... . "
182 " " 182 " "
1835 0x1021 0 3 1835 0x1021 0 3
184 "17 7 2 1" 184 "17 7 2 1"
185 " c None" 185 " c None"
186 ". c #000000" 186 ". c #000000"
187 " " 187 " "
188 " .. ... .. . " 188 " .. ... .. . "
189 " . . . . . " 189 " . . . . . "
190 " . . .. . " 190 " . . .. . "
191 " . . . . . " 191 " . . . . . "
192 " .. . . . ... " 192 " .. . . . ... "
193 " " 193 " "
1945 0x1030 0 2 #original code is F1, but i'll use it for turning on/off pickboard 1945 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
2070x60 0x7e 2090x60 0x7e
2080x31 0x21 2100x31 0x21
2090x32 0x40 2110x32 0x40
2100x33 0x23 2120x33 0x23
2110x34 0x24 2130x34 0x24
2120x35 0x25 2140x35 0x25
2130x36 0x5e 2150x36 0x5e
2140x37 0x26 2160x37 0x26
2150x38 0x2a 2170x38 0x2a
2160x39 0x28 2180x39 0x28
2170x30 0x29 2190x30 0x29
2180x2d 0x5f 2200x2d 0x5f
2190x3d 0x2b 2210x3d 0x2b
220 222
2210x71 0x51 2230x71 0x51
2220x77 0x57 2240x77 0x57
2230x65 0x45 2250x65 0x45
2240x72 0x52 2260x72 0x52
2250x74 0x54 2270x74 0x54
2260x79 0x59 2280x79 0x59
2270x75 0x55 2290x75 0x55
2280x69 0x49 2300x69 0x49
2290x6f 0x4f 2310x6f 0x4f
2300x70 0x50 2320x70 0x50
2310x5b 0x7b 2330x5b 0x7b
2320x5d 0x7d 2340x5d 0x7d
2330x5c 0x7c 2350x5c 0x7c
234 236
2350x61 0x41 2370x61 0x41
2360x73 0x53 2380x73 0x53
2370x64 0x44 2390x64 0x44
2380x66 0x46 2400x66 0x46
2390x67 0x47 2410x67 0x47
2400x68 0x48 2420x68 0x48
2410x6a 0x4a 2430x6a 0x4a
2420x6b 0x4b 2440x6b 0x4b
2430x6c 0x4c 2450x6c 0x4c
2440x3b 0x3a 2460x3b 0x3a
2450x27 0x22 2470x27 0x22
246 248
2470x7a 0x5a 2490x7a 0x5a
2480x78 0x58 2500x78 0x58
2490x63 0x43 2510x63 0x43
2500x76 0x56 2520x76 0x56
2510x62 0x42 2530x62 0x42
2520x6e 0x4e 2540x6e 0x4e
2530x6d 0x4d 2550x6d 0x4d
2540x2c 0x3c 2560x2c 0x3c
2550x2e 0x3e 2570x2e 0x3e
2560x2f 0x3f 2580x2f 0x3f
257 259