LanguagePack icon indicating copy to clipboard operation
LanguagePack copied to clipboard

Vietnamese keyboard

Open nghialm269 opened this issue 7 years ago • 1 comments

Hi, I'm trying to create Vietnamese keyboard, but I'm stuck, please help me.

In Vietnamese, there are two common input methods:

  • Telex: I can make the words "Việt" by typing "Vieejt" or "Vieetj" or "Vietej". (ee -> ê, j adds a dot below the vowel)
  • VNI: I can make the word "Việt" by typing "Vie65t" or "Vie6t5" or "Viet65". (e6 -> ê, 5 adds a dot below the vowel)

I tried to implement Telex input method by adding a physical keyboard mapping like this:

<?xml version="1.0" encoding="UTF-8"?>
<PhysicalTranslation
    QwertyTranslation="qwertyuiopasdfghjklzxcvbnm">

    <SequenceMapping keySequence="KEYCODE_E,KEYCODE_E" targetChar="ê" />

</PhysicalTranslation>

But it only works when I type using my laptop keyboard (of course it's physical keyboard mapping), and it does not work in this case: "Vietej" (the two e is not next to each other).

How can I implement this in AnySoftKeyboard?

nghialm269 avatar Aug 09 '18 16:08 nghialm269

Right now the only languagepack using pyshical mapping is russia, take a look here

azzamsa avatar Jan 16 '19 00:01 azzamsa