jjsullivan5196 / wvkbd

On-screen keyboard for wlroots
GNU General Public License v3.0
286 stars 55 forks source link

Different language support? #63

Closed FearlessSpiff closed 8 months ago

FearlessSpiff commented 10 months ago

I am using DE keyboard layout and Z, Y are reversed and all special chars are mapped wrong. Do I have to switch to US keyboard layout or is there a setting for this. Thanks!

proycon commented 10 months ago

Do you mean you press a key on the virtual keyboard but get another due to another keymap being active? That shouldn't happen as wvkbd actively switches your keymap (which is indeed based on the US map). If this is the issue I wonder what compositor you are on?

If you mean you rather have a QWERTZ or AZERTY layout, then no, we don't currently have that but such a layout would be fairly easy to add.

FearlessSpiff commented 10 months ago

Yes. The first thing you described. I am on hyprland. Just tried to loadkeys us but this fails. Have to check why. Might this be the problem that wvkbd doesn't work as expected?

proycon commented 10 months ago

Okay, I'm on hyprland too, and it does seem like the keymap switching wvkbd does work fine there. What I suspect is that you (or something you are running) is somehow switching keymaps again by another means after wvkbd has started? That would indeed lead to the two being out of sync. Whilst wvkbd is running it should be the only one determining the keymap, though this is not enforced in any way.

FearlessSpiff commented 10 months ago

I don't know why, but now it is working! I will have to make some more testing and observe it.

freerig commented 6 days ago

Actually it doesn't work for me either :( I use Hyprland on NixOS (super cool distro btw). All my env var are set to fr_FR.UTF-8, everything seems fine, but can't figure out how to have azerty. Maybe you should add a cli parameter (even if I manage to make it work somehow).