[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [m17n-list] .mim Syntax Options
From: |
Blinkenlichten |
Subject: |
Re: [m17n-list] .mim Syntax Options |
Date: |
Mon, 16 May 2016 05:51:59 +0200 |
Consistent keycodes are available, indeed. For example, the tenth key to the
right of caps lock may carry a lot of different labels depending on language
and keyboard type.
However, you can unmistakably address this physical key
in Mac OS X with key code="41"
in Windows with SC027 or VK_OEM_7
in Linux/X11 with key <AC10>
However, the insight that uim libraries provide translation explains the fact
that I had to install uim in order to get my compose sequences working. The
tool translates sequential outputs into a new output.
Best thanks for your help! Steff
Am 10.05.2016 um 14:36 schrieb handa <address@hidden>:
> In article <address@hidden>, Blinkenlichten <address@hidden> writes:
>
>> after having completed different versions of an input systems for the
>> rather rare Róng/Lepcha script for OS X, Windows (MSKLC, Keyman,
>> Autohotkey) and Linux (XKB), I consider to give m17n a try as well.
>
> Welcome.
>
>> As far as I see from an initial survey into the respective files,
>> Lepcha is already listed in the SCRIPT.tab and SCRIPT.tbl files. My
>> guess is, thus, that my main job would be to provide an icon and to
>> compose a lep.mim file.
>
> Exactly.
>
>> Going through some .mim samples, I have the impression that these just
>> 'translate' Latin output into a different script. However, I'd like to
>> assign output to specific physical keys in order to have a consistent
>> layout and typing experience across platforms and keyboard
>> types. Hence my question to the experts:
>
>> - Instead of "a" in the first column, for example, can I use key codes (key
>> <AC01> ) or scan codes (SC01E)?
>
> Unfortunately no. But, are there any key codes or scan codes that are
> really consistent across platforms and keyboard types?
>
>> - Instead of "अ" in the second column, for example, can I use Unicode
>> (U+0905 or अ) codepoints?
>
> Yes. You can write:
> ("a" #x905)
> and
> ("a" "\\x905")
> instead of:
> ("a" "अ")
>
> This page explains the full format of MIM file:
> http://www.nongnu.org/m17n/manual-en/m17nDBFormat.html#mdbIM
> Though, I must confess that it's not reader friendly.
>
> ---
> K. Handa
> address@hidden