keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
493 stars 65 forks source link

Add bépo layout as a host keyboard layout #1303

Open nicos68 opened 11 months ago

nicos68 commented 11 months ago

This PR offers a solution to https://github.com/keyboardio/Chrysalis/issues/1069. See my comment here. The idea is to add the bépo layout among the selectable layouts in the Layout editor section of the User Interface preferences: image As said in my comment the result is not perfect (so don’t hesitate to make suggestions) but it is a dramatic improvement for bépo users: image I only have a Fedora machine so I couldn’t test this on anything else, so don’t hesitate to make more tests.

obra commented 11 months ago

So the other custom layouts assume a "traditional" host keymap. (Dvorak and Colemak both assume your host's layout is set to QWERTY.) Among other things, that allows the keyboard to work correctly when used on an "unconfigured" keyboard.

Would it make sense to have the Bépo layout assume an AZERTY configured computer instead?

nicos68 commented 11 months ago

So the other custom layouts assume a "traditional" host keymap. (Dvorak and Colemak both assume your host's layout is set to QWERTY.) Among other things, that allows the keyboard to work correctly when used on an "unconfigured" keyboard.

Would it make sense to have the Bépo layout assume an AZERTY configured computer instead?

Hi, on my machine the host os keyboard layout is set to bépo. image I made this xml file making the assumption that the user has set their host os keyboard layout to bépo, which is natively available on linux. In my case it doesn’t make sense, and I’d say for a Linux user it doesn’t either, because as bépo is easy to configure, there’s no point complicating thing with transcoding like that. For Windows it’s feasible but a bit more difficult, and I can’t speak for macos users.

And bépo has been normalized by a french authority (AFNOR), so I wouldn’t call it a custom layout.

obra commented 11 months ago

I understand that for your particular setup, a native Bépo configuration is absolutely the right thing, but need to think about the more general case of a default configuration for users who want Bépo to "just work" for their keyboard. The right answer might be to offer both configurations.

nicos68 commented 11 months ago

Maybe there could be a "French bépo (native)" and a "French bépo (emulated)" entry with tooltips to explain what each is.