-rw-r--r-- | share/multikey/README | 2 | ||||
-rw-r--r-- | share/multikey/de.keymap | 2 | ||||
-rw-r--r-- | share/multikey/en.keymap | 2 | ||||
-rw-r--r-- | share/multikey/enjumpx.keymap | 2 | ||||
-rw-r--r-- | share/multikey/enshort.keymap | 2 | ||||
-rw-r--r-- | share/multikey/es.keymap | 2 | ||||
-rw-r--r-- | share/multikey/fi.keymap | 2 | ||||
-rw-r--r-- | share/multikey/fr.keymap | 2 | ||||
-rw-r--r-- | share/multikey/ko.keymap | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/share/multikey/README b/share/multikey/README index b0da95f..a574d3e 100644 --- a/share/multikey/README +++ b/share/multikey/README @@ -1,74 +1,74 @@ +----------------------------------------------------------------------------+ | | | the basics | | | +----------------------------------------------------------------------------+ your best friend is xmbfed. open the unicode font that is in $QT_DIR/lib/fonts/unifont.bdf and search for the characters you want to input. in the keymap file, the columns are... +--- row number (there are 5 rows) | +- qcode (used for special chars like enter, escape, etc...) | | v v 1 0 0x36 2 ^ ^ | | | +---- width of key (default key should be 2) +--- the unicode value (the one you see in xmbded) so, lets say you want to edit the 5th key on the 2nd row. find the 5th line that starts with 2, and replace the 3rd column with the code you found in xmbdfed. save the file and test it out by selecting another map, and selecting the one you are editing again. -it worked, right? if all you see is a square in it's place, that means your +it worked, right? if all you see is a square in its place, that means your default font doesn't have that char. go to appearance and change the font to one that has that char. and if you want, you can have an image as the label instead of the char itself. just draw the xpm image in gimp or something, save it, open it in your text editor, cut off all the surrounding stuff and leave only the stuff between the " chars. place that after your key definition. not too hard, right? one thing about this is you cant use xpm images for shift or any other meta keys. +----------------------------------------------------------------------------+ | | | shift and meta keys | | | +----------------------------------------------------------------------------+ about shift and meta characters. to place chars in the shift map, the line should consist of two columns. the non-shifted char and the shifted char. for example. 0x71 0x51 so, 0x71 (q) shifted is 0x51 (Q). and now for meta chars. the reason why you have this feature is because of languages like german, where you can hold down the meta (alt-gr) key and enter in other special characters. it's like having a second shift. to add chars to this map, you do the following. m 0x71 0x31 here, if you hold down meta and hit the 0x71 (q) key, 0x31 (1) would be input. get it? and one more thing about meta keys and shifting at the same time. if you wanted the above key to shift while meta is held down, just add the original shifted key to the meta map, like this. m 0x51 0x7e here if you hit meta and then shift, you would get 0x7e (!). +----------------------------------------------------------------------------+ | | | circumflex and diaeresis | | | +----------------------------------------------------------------------------+ just in case you use french, there are also maps for circumflex chars and diaeresis. for example... diff --git a/share/multikey/de.keymap b/share/multikey/de.keymap index 8346dbc..58d24e7 100644 --- a/share/multikey/de.keymap +++ b/share/multikey/de.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = German 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x5e 2 # but not after xpm images... k? 0x5e 0xb0 # shifted 1 0 0x31 2 0x31 0x21 # shifted 1 0 0x32 2 0x32 0x22 # shi.... m 0x32 0xb2 # the ^2 1 0 0x33 2 0x33 0xa7 m 0x33 0xb3 # the ^3 1 0 0x34 2 0x34 0x24 1 0 0x35 2 0x35 0x25 1 0 0x36 2 0x36 0x26 1 0 0x37 2 0x37 0x2f m 0x37 0x7b # the { 1 0 0x38 2 0x38 0x28 m 0x38 0x5b # the [ 1 0 0x39 2 0x39 0x29 m 0x39 0x5d # the ] 1 0 0x30 2 0x30 0x3d m 0x30 0x7d # the } 1 0 0xdf 2 0xdf 0x3f diff --git a/share/multikey/en.keymap b/share/multikey/en.keymap index 15d653b..4e24bdb 100644 --- a/share/multikey/en.keymap +++ b/share/multikey/en.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = English 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x60 2 # but not after xpm images... k? 1 0 0x31 2 1 0 0x32 2 1 0 0x33 2 1 0 0x34 2 1 0 0x35 2 1 0 0x36 2 1 0 0x37 2 1 0 0x38 2 1 0 0x39 2 1 0 0x30 2 1 0 0x2d 2 1 0 0x3d 2 1 0x1003 0 2 "9 9 2 1" ". c None" "a c #000000" "........." "........." "...a....." "..aa....." ".aaaaaaaa" "..aa....." "...a....." "........." "........." 2 0x1001 0x9 3 # tab char, but why doesnt this work...? diff --git a/share/multikey/enjumpx.keymap b/share/multikey/enjumpx.keymap index e78a0f8..250c5e1 100644 --- a/share/multikey/enjumpx.keymap +++ b/share/multikey/enjumpx.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = English JumpX Layout 1 0x1000 0 3 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x7a 2 # z 1 0 0x76 2 # v 1 0 0x63 2 # c 1 0 0x68 2 # h 1 0 0x77 2 # w 1 0 0x6b 2 # k #1 0 0 1 # blank space 1 0 0x31 2 # 1 1 0 0x2d 2 # - 1 0 0x2b 2 # + 1 0 0x36 2 # 6 #1 0 0 1 # blank space 1 0x1003 0 3 # backspace "9 9 2 1" ". c None" "a c #000000" "........." "........." "...a....." "..aa....." ".aaaaaaaa" "..aa....." "...a....." "........." "........." 1 0x1010 0 2 "9 9 2 1" diff --git a/share/multikey/enshort.keymap b/share/multikey/enshort.keymap index e2159ab..23f2f6b 100644 --- a/share/multikey/enshort.keymap +++ b/share/multikey/enshort.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = English Short 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x71 2 1 0 0x77 2 1 0 0x65 2 1 0 0x72 2 1 0 0x74 2 1 0 0x79 2 1 0 0x75 2 1 0 0x69 2 1 0 0x6f 2 1 0 0x70 2 1 0 0x5b 2 1 0 0x5d 2 1 0 0x5c 2 1 0x1003 0 2 "9 9 2 1" ". c None" "a c #000000" "........." "........." "...a....." "..aa....." ".aaaaaaaa" "..aa....." "...a....." "........." "........." 2 0x1001 0x9 3 # tab char, but why doesnt this work...? diff --git a/share/multikey/es.keymap b/share/multikey/es.keymap index 7fb53b7..7839bb8 100644 --- a/share/multikey/es.keymap +++ b/share/multikey/es.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = Spanish 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0xba 2 # but not after xpm images... k? 0xba 0xaa 1 0 0x31 2 0x31 0x7c m 0x31 0xa6 1 0 0x32 2 0x32 0x22 m 0x32 0x40 1 0 0x33 2 0x33 0xb7 m 0x33 0x23 1 0 0x34 2 0x34 0x24 m 0x34 0x7e 1 0 0x35 2 0x35 0x25 m 0x35 0x20ac # euro 1 0 0x36 2 0x36 0x26 m 0x36 0xac 1 0 0x37 2 0x37 0x2f diff --git a/share/multikey/fi.keymap b/share/multikey/fi.keymap index b836ac5..e3c9c9e 100644 --- a/share/multikey/fi.keymap +++ b/share/multikey/fi.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = Finnish 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0xa7 2 # but not after xpm images... k? 0xa7 0xbd # shifted 1 0 0x31 2 0x31 0x21 # shifted 1 0 0x32 2 0x32 0x22 # shi.... m 0x32 0x40 # the @ 1 0 0x33 2 0x33 0x23 m 0x33 0xa3 # the £ 1 0 0x34 2 0x34 0xa4 m 0x34 0x24 1 0 0x35 2 0x35 0x25 1 0 0x36 2 0x36 0x26 1 0 0x37 2 0x37 0x2f m 0x37 0x7b # the { 1 0 0x38 2 0x38 0x28 m 0x38 0x5b # the [ 1 0 0x39 2 0x39 0x29 m 0x39 0x5d # the ] 1 0 0x30 2 0x30 0x3d m 0x30 0x7d # the } 1 0 0x2b 2 diff --git a/share/multikey/fr.keymap b/share/multikey/fr.keymap index e8d73c2..52cc12d 100644 --- a/share/multikey/fr.keymap +++ b/share/multikey/fr.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) title = French 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x26 2 # but not after xpm images... k? 0x26 0x31 1 0 0xe9 2 0xe9 0x32 m 0xe9 0x7e 1 0 0x22 2 0x22 0x33 m 0x22 0x23 1 0 0x27 2 0x27 0x34 m 0x27 0x7b 1 0 0x28 2 0x28 0x35 m 0x28 0x5b 1 0 0x2d 2 0x2d 0x36 m 0x2d 0x7c 1 0 0xe8 2 0xe8 0x37 m 0xe8 0x60 1 0 0x5f 2 0x5f 0x38 m 0x5f 0x5c 1 0 0xe7 2 0xe7 0x39 m 0xe7 0x5e 1 0 0xe0 2 0xe0 0x30 m 0xe0 0x40 1 0 0x29 2 0x29 0xb0 m 0x29 0x5d 1 0 0x3d 2 diff --git a/share/multikey/ko.keymap b/share/multikey/ko.keymap index 559f044..1eca733 100644 --- a/share/multikey/ko.keymap +++ b/share/multikey/ko.keymap @@ -1,52 +1,52 @@ # comment lines must start with a '#' (for now...) # order is: row qcode unicode length blah # -# please don't write anything between a key definition and it's xpm (excpet for spaces) +# please don't write anything between a key definition and its xpm (except for spaces) lang = ko title = Korean Standard Keyboard 1 0x1000 0 2 # and you can write whatever you want after the last element "9 9 2 1" ". c None" "a c #000000" "........." "........." ".aa.aa.aa" ".a..a..a." ".aa.aa.a." ".a...a.a." ".aa.aa.aa" "........." "........." 1 0 0x60 2 # but not after xpm images... k? 1 0 0x31 2 1 0 0x32 2 1 0 0x33 2 1 0 0x34 2 1 0 0x35 2 1 0 0x36 2 1 0 0x37 2 1 0 0x38 2 1 0 0x39 2 1 0 0x30 2 1 0 0x2d 2 1 0 0x3d 2 1 0x1003 0 2 "9 9 2 1" ". c None" "a c #000000" "........." "........." "...a....." "..aa....." ".aaaaaaaa" "..aa....." "...a....." "........." "........." |