calin-darie / extra-keyboard-layouts

To România and beyond!
MIT License
61 stars 36 forks source link

feat: add Russian (phonetic) from linux layouts #20

Closed AlexCzar closed 1 year ago

AlexCzar commented 2 years ago

This is the standard "Russian (phonetic)" layout from Linux. Hi, I'm using the same keyboard between my PC, laptop and Android phone so having the same layout makes a lot of sense. While the Yawert layout in this project is usable, it requires constant mental gymnastics when switching from PC to phone and back, so I've decided to contribute. This is untested, unfortunately, I've never been anywhere near android development, I tried to build it using standard Github actions, but there was no apk at the end, so I don't know to test it.

Further, if this gets accepted I'll also fix the Georgian layout, currently, it is problematic and certain letters cannot be typed, while others need workarounds.

AlexCzar commented 1 year ago

Hi, I'm very sorry it took so long, kinda dropped the ball on this one :)

I've updated the PR, missing special characters are added back using RALT and RALT + SHIFT.

How does the layer work in Linux exactly? Do you lock the keyboard into the third layer and then unlock? Which modifiers are involved?

It does not work on Linux, as it turns out, the layout does not provide a third layer here, when on Linux everyone tends to have English layout around for command line and stuff, so it's easier to just switch to US for special characters, they're mostly needed when writing code anyway.

I have added them using RALT just because you mentioned it. It is an improvement in some situations, for example if a person has three or more layouts (I do) cycling through them just to get at a special character is a pain.