summaryrefslogtreecommitdiff
path: root/share
Unidiff
Diffstat (limited to 'share') (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
@@ -1,257 +1,259 @@
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?
231 0 0x31 2 231 0 0x31 2
241 0 0x32 2 241 0 0x32 2
251 0 0x33 2 251 0 0x33 2
261 0 0x34 2 261 0 0x34 2
271 0 0x35 2 271 0 0x35 2
281 0 0x36 2 281 0 0x36 2
291 0 0x37 2 291 0 0x37 2
301 0 0x38 2 301 0 0x38 2
311 0 0x39 2 311 0 0x39 2
321 0 0x30 2 321 0 0x30 2
331 0 0x2d 2 331 0 0x2d 2
341 0 0x3d 2 341 0 0x3d 2
351 0x1003 0 2 351 0x1003 0 2
36 36
37 "9 9 2 1" 37 "9 9 2 1"
38 "a c #000000" 38 "a c #000000"
39 ". c None" 39 ". c None"
40 "........." 40 "........."
41 "........." 41 "........."
42 "...a....." 42 "...a....."
43 "..aa....." 43 "..aa....."
44 ".aaaaaaaa" 44 ".aaaaaaaa"
45 "..aa....." 45 "..aa....."
46 "...a....." 46 "...a....."
47 "........." 47 "........."
48 "........." 48 "........."
49 49
50 50
512 0 0x9 3 # tab char, but why doesnt this work...? 512 0 0x9 3 # tab char, but why doesnt this work...?
52 52
53 53
54 "11 9 2 1" 54 "11 9 2 1"
55 "a c #000000" 55 "a c #000000"
56 ". c None" 56 ". c None"
57 "..........." 57 "..........."
58 "..........." 58 "..........."
59 ".....a..a.." 59 ".....a..a.."
60 ".....aa.a.." 60 ".....aa.a.."
61 ".aaaaaaaa.." 61 ".aaaaaaaa.."
62 ".....aa.a.." 62 ".....aa.a.."
63 ".....a..a.." 63 ".....a..a.."
64 "..........." 64 "..........."
65 "..........." 65 "..........."
662 0 0x71 2 662 0 0x71 2
672 0 0x77 2 672 0 0x77 2
682 0 0x65 2 682 0 0x65 2
692 0 0x72 2 692 0 0x72 2
702 0 0x74 2 702 0 0x74 2
712 0 0x79 2 712 0 0x79 2
722 0 0x75 2 722 0 0x75 2
732 0 0x69 2 732 0 0x69 2
742 0 0x6f 2 742 0 0x6f 2
752 0 0x70 2 752 0 0x70 2
762 0 0x5b 2 762 0 0x5b 2
772 0 0x5d 2 772 0 0x5d 2
782 0 0x5c 2 782 0 0x5c 2
79 79
803 0x1024 0 4 803 0x1024 0 4
81 "17 7 2 1" 81 "17 7 2 1"
82 " c None" 82 " c None"
83 ". c #000000" 83 ". c #000000"
84 " " 84 " "
85 " .. . .. .. " 85 " .. . .. .. "
86 " . . . . . . " 86 " . . . . . . "
87 " . ... .. . " 87 " . ... .. . "
88 " . . . . . " 88 " . . . . . "
89 " .. . . . .. " 89 " .. . . . .. "
90 " " 90 " "
913 0 0x61 2 913 0 0x61 2
923 0 0x73 2 923 0 0x73 2
933 0 0x64 2 933 0 0x64 2
943 0 0x66 2 943 0 0x66 2
953 0 0x67 2 953 0 0x67 2
963 0 0x68 2 963 0 0x68 2
973 0 0x6a 2 973 0 0x6a 2
983 0 0x6b 2 983 0 0x6b 2
993 0 0x6c 2 993 0 0x6c 2
1003 0 0x3b 2 1003 0 0x3b 2
1013 0 0x27 2 1013 0 0x27 2
1023 0x1004 0 4 # enter 1023 0x1004 0 4 # enter
103 "16 9 2 1" 103 "16 9 2 1"
104 "a c #000000" 104 "a c #000000"
105 ". c None" 105 ". c None"
106 "................" 106 "................"
107 "................" 107 "................"
108 "...........a...." 108 "...........a...."
109 "....aa.....a...." 109 "....aa.....a...."
110 "...aa......a...." 110 "...aa......a...."
111 "..aaaaaaaaaa...." 111 "..aaaaaaaaaa...."
112 "...aa..........." 112 "...aa..........."
113 "....aa.........." 113 "....aa.........."
114 "................" 114 "................"
115 115
1164 0x1020 0 5 1164 0x1020 0 5
117 "21 7 2 1" 117 "21 7 2 1"
118 " c None" 118 " c None"
119 ". c #000000" 119 ". c #000000"
120 " " 120 " "
121 " .. . . ... ... ... " 121 " .. . . ... ... ... "
122 " . . . . . . " 122 " . . . . . . "
123 " . ... . .. . " 123 " . ... . .. . "
124 " . . . . . . " 124 " . . . . . . "
125 " .. . . ... . . " 125 " .. . . ... . . "
126 " " 126 " "
1274 0 0x7a 2 1274 0 0x7a 2
1284 0 0x78 2 1284 0 0x78 2
1294 0 0x63 2 1294 0 0x63 2
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