summaryrefslogtreecommitdiff
authorhash <hash>2002-09-06 21:25:43 (UTC)
committer hash <hash>2002-09-06 21:25:43 (UTC)
commit5536f65e60b3c662d2da3636e617faaad02522db (patch) (side-by-side diff)
tree1ca87cce882ae2de34d9d17a3e0bf76089c7a365
parentd8cd396481377d9402c3afd2296867763624b1a2 (diff)
downloadopie-5536f65e60b3c662d2da3636e617faaad02522db.zip
opie-5536f65e60b3c662d2da3636e617faaad02522db.tar.gz
opie-5536f65e60b3c662d2da3636e617faaad02522db.tar.bz2
anything else?
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--share/multikey/README85
1 files changed, 66 insertions, 19 deletions
diff --git a/share/multikey/README b/share/multikey/README
index beed768..b0da95f 100644
--- a/share/multikey/README
+++ b/share/multikey/README
@@ -1,8 +1,6 @@
-+---- how to make your own keymap file. ----+
-
-first of all, later on you will be able to choose the keymap, but right now it
-selects the keymap according to your language setting. for example, if your
-language is "ko", it will select $OPIE_DIR/share/multikey/ko.keymap for the
-keymap. so if you want to make a german keymap, copy the en.keymap file to
-de.keymap, and edit it.
++----------------------------------------------------------------------------+
+| |
+| the basics |
+| |
++----------------------------------------------------------------------------+
@@ -24,5 +22,4 @@ 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 restarting opie, or running
-
-host$ $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()"
+xmbdfed. save the file and test it out by selecting another map, and
+selecting the one you are editing again.
@@ -35,3 +32,10 @@ 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?
+" 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 |
+| |
++----------------------------------------------------------------------------+
@@ -41,13 +45,56 @@ example.
-0x36 0x46
+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...
+
+2 0 0x69 2
+0x69 0x49
+c 0x69 0xee
+d 0x69 0xef
+
+this would define an 'i' with a shift, circumflex, and a diaeresis definition.
+to shift the circumflex and diaeresis keys, do the same as you would with a
+meta key. add the orignal key shifted to the circumflex and diaeresis maps.
+
+c 0x49 0xce
+d 0x49 0xcf
-so, 0x36 shifted is 0x46. and for meta chars. the reason why you have this
-feature is because of languages like german, where you can hold down the
-meta-alt key and enter in other special characters. it's like having
-a second shift. to add chars to this map, you do the following.
++----------------------------------------------------------------------------+
+| |
+| special keys |
+| |
++----------------------------------------------------------------------------+
-m 0x36 0x84
+to define special keys like the meta key, circumflex or diaeresis keys, here
+is what you should use.
-and here, if you hold down the meta-alt and hit the 0x36 key, 0x84 would be
-input. get it?
+5 0x1030 0 2 # opens config dialog
+5 0x1022 0 3 # meta
+2 0 0x2c6 2 # circumflex
+0x2c6 0xa8 # diaeresis