Using non-latin language on Librem 5


#102

Ah, you’re right. I might be a little sleepy… I fixed my example.

Anyway, punctuation keys will get a special function later (end prediction), so there’s more potentially breaking changes in the future. I’ll try to make them as easy as possible.


#103

Should we remove all this then?

    period:
        outline: "default"
        label: "."
    colon:
        label: ":"
    "\"":
        keysym: "quotedbl"

Thanks.


#104

Not quite, outlines are still useful (except maybe the default one). So in this case, yeah.


#105

I just started with the changes on the German and Japanese layout. But there are some questions remaining for me:

How do you intend to handle “BackSpace” and “Return”. If I understand #153 correctly, you have to use the “keysym” property with those (because they are just buttons using xkb keycode names - and that’s deprecated in the future). So should it be something like the following?

BackSpace:
    outline: "altline"
    icon: "edit-clear-symbolic"
    keysym: "0xff08"
Return:
    outline: "altline"
    icon: "key-enter"
    keysym: "0xff0d"

Or should we use f.ex. keysym: "BackSpace"? Both seem to be OK ATM.

And what about space:

space:
    outline: "spaceline"
    label: " "

Shouldn’t we use the “keysym” property here as well?


#106

No, I think I didn’t explain that well enough. Does my comment make it clearer? https://source.puri.sm/Librem5/squeekboard/issues/153#note_67857

Yes.

Yeah, and that reminds me I should roll out the “text” property soon…


#107

Anyone willing to update the Russian layout? https://source.puri.sm/Librem5/squeekboard/merge_requests/220


#108

I still intend to update this and resubmit it. I had trouble with the emulator and haven’t been able to get back to this yet. I have some time now though so I will try to work on it this week.


#109

Related: Unicode version 13 is set to be released on March 10. “Unicode 13.0 adds 5,930 characters, for a total of 143,859 characters. These additions include 4 new scripts, for a total of 154 scripts, as well as 55 new emoji characters.” Didn’t know it was that much. It includes support for a lot of of (also new-old) languages, in addition to all the emojis.
Is/will it be fully supported on keyboards?