Indic input

Is there any way to change the keyboard map to indic languages like Hindi, Sanskrit or Kannada? I see there is no way to shift the keymap to these languages. Any help would be appreciated.

You could combine two scripts into one keymap, and switch between languages with CapsLock. Here’s an example of combining US and Russian keymaps into one keymap: US-Russian.keymap · GitHub.

It’s a somewhat hacky approach, but it works well in practice.

I have asked aboutthis earlier…you can search the forums
Solution that was given to me is rather laborious or unviable

Thanks for the suggestion. Can you please tell me where do you hex codes ? Any help to create keyboard layouts in Haiku is appreciated. And I hope there is unicode support in Haiku.

These codes seem to be UTF-8 encodings. For example, consider this line

Key 0x4c = 'z'      'Z'      0x1a     ''       ''       0xd18f   0xd0af   ''       ''    

In Russian layout there are letters я and Я in this place. Here are descriptions of these symbols:

0xd18f and 0xd0af match 0xD1 0x8F and 0xD0 0xAF UTF-8 encodings listed in this descriptions.

Any help to create keyboard layouts in Haiku is appreciated.

I would need a map between latin characters and the corresponding characters in the new layout. Something like this:

a ф
A Ф
s ы
S Ы
...
1 Like

Thanks. I have mapped all the keys for Devanagari script. But native apps only show boxes. Whereas Falkon displays all the letters properly. I have copied the respective fonts to haiku/system/non-packaged/data/fonts folder.

Native applications will only show the characters if the font is either set as the system default font, or if the font appears in the font fallback list.
Currently it does not (and this is at the moment a hardcoded list)

It would be better if we include all the languages.