To Index
Key Maps

The Key Map feature rearranges your keyboard layout, for typing different languages. Several key maps are included with Simredo; you can use them as they are, modify them as you wish, or easily create new ones.

To activate a key map, select it from the pull-down menu. If you want to momentarily deactivate the key map, type Ctrl‑q, and the same to reactivate.

You can display the active keyboard arrangement using the function 'Show Keyboard', which is under the 'Other' functions menu. The screen shot below shows the layout for the RT_devanagari key map.

Please note: The 'Show Keyboard' window is for display only. Clicking on the buttons will not put the characters into your text.



Defining Key Maps

Key map files have an extension of 'kmp', for example, RT_devanagari.kmp, and are located in the same folder as Simredo's executable file (Simredo4.jar). The encoding for these files must be UTF‑16 Big Endian.

In a key map file, lines which begin with a space are ignored. This is useful for putting in comments.

Lines which begin with a character, and have at least 2 characters, are treated as mapping definitions. The first character represents the key to be mapped, and the second is the replacement character. For example, QЙ produces the letter Й when the Q key is typed. There is one key definition per line.

Replacement characters can be represented by the character itself or by its hexadecimal Unicode code; for example, \u06F0 represents an Arabic zero.

Alt-key sequences can be defined by entering the key word 'alt', plus a letter, followed by the replacement letter or letters. In the example at right, typing Alt‑a will produce an entire sentence.

Control keys sequences cannot be defined, because many of these have standard and necessary functions: Ctrl‑c for Copy, and Ctrl‑v for Paste, etc.

The key word '2keys' is used to map pairs of keys. In the example shown here, typing a semicolon followed by a 'c' will produce the accented letter 'ĉ'.

For creating new key maps, the Show Character Set feature can be very useful. You can copy letters from the Character Set window to the key map file using Copy and Paste.


To Index