DreymaR / BigBagKbdTrixXKB

"DreymaR's Big Bag of Keyboard Tricks" for *nix with XKB
MIT License
200 stars 39 forks source link

shift+space in "ro" locale #29

Closed shunlog closed 1 year ago

shunlog commented 2 years ago

I noticed shift+space didn't work in the "ro" locale (instead of "space", xev showed a "NoSymbol"), so I copied this line from the "us" locale and it's working now.

DreymaR commented 2 years ago

If that happens in the Ro locale, it may happen in all locales? I wonder what you used. Did you use the KS or US variant? Did you use Extend with it?

The colemak_ed layouts define Space like you did, so why it shouldn't work is beyond me.

shunlog commented 1 year ago

So what I want is for Shift+Space to be mapped to space, which is obtained with key <SPCE> { [space, space,....

I'm using ro(cmk_ed_ks), and in it Shift+Space isn't mapped to anything. Tried to look into other layouts with *_ks to see how they get key <SPCE> { [space, space,..., but it's such a mess with includes. For example, ru(cmk_ed_ks) gets it from pl(basic) which defined it, while ca(cmk_ed_ks) gets it from ca(multi) which includes ca(fr) which in turn defined it. From the few I tested, al(cmk_ed_ks) and be(cmk_ed_ks) don't have Shift+Space either.

I think the main problem is that the line key <SPCE> { [space, space,... should be included from colemak(cmk_ed_symbols), while most _ks layouts include only colemak(cmk_ed_letters). Maybe the line key <SPCE> { [space, space,... should be in colemak(cmk_ed_letters) rather than colemak(cmk_ed_symbols)?

DreymaR commented 1 year ago

Yes, I see the problem. Even though it isn't really Colemak's fault, some layouts have been sloppy with their Space definitions.

I don't really recommend the ks layouts as they're tacked-together half-solutions, but ... if you must, you must.

So yes, I should think about how to ensure a working Space key for you guys.

best, Øystein "DreymaR"

On Thu, Oct 13, 2022, 20:00 shunlog @.***> wrote:

So what I want is for Shift+Space to be mapped to space, which is obtained with key { [space, space,....

I'm using ro(cmk_ed_ks), and in it Shift+Space isn't mapped to anything. Tried to look into other layouts with *_ks to see how they get key { [space, space,..., but it's such a mess with includes. For example, ru(cmk_ed_ks) gets it from pl(basic) which defined it, while ca(cmk_ed_ks) gets it from ca(multi) which includes ca(fr) which in turn defined it. From the few I tested, al(cmk_ed_ks) and be(cmk_ed_ks) don't have Shift+Space either.

I think the main problem is that the line key { [space, space,... should be included from colemak(cmk_ed_symbols), while most _ks layouts include only colemak(cmk_ed_letters). Maybe the line key { [space, space,... should be in colemak(cmk_ed_letters) rather than colemak(cmk_ed_symbols)?

— Reply to this email directly, view it on GitHub https://github.com/DreymaR/BigBagKbdTrixXKB/pull/29#issuecomment-1277982042, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXXBAP32LN5LILQDZNJV3TWDBE45ANCNFSM56SFS6PQ . You are receiving this because you commented.Message ID: @.***>

shunlog commented 1 year ago

What's the alternative to using _ks_ layouts?

DreymaR commented 1 year ago

The alternative is the _eD layouts. They're designed for good symbol and special letter mappings, and lots of dead keys for accents etc etc.