summaryrefslogtreecommitdiff
path: root/share/multikey/README
Side-by-side diff
Diffstat (limited to 'share/multikey/README') (more/less context) (ignore whitespace changes)
-rw-r--r--share/multikey/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/multikey/README b/share/multikey/README
index b0da95f..a574d3e 100644
--- a/share/multikey/README
+++ b/share/multikey/README
@@ -2,49 +2,49 @@
| |
| 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