DreymaR / BigBagKbdTrixPKL

"DreymaR's Big Bag of Keyboard Tricks" for Windows with EPKL
Other
326 stars 32 forks source link

v1.4 broke my ø mapping #57

Closed bnm12 closed 1 year ago

bnm12 commented 1 year ago

I don't know if I need to make any changes moving to v1.4 but I couldn't find any information on the releases page or on the Colemak forums. I moved over my override files from v1.3.1 so maybe that's it? I use the CurlAWideSym(ISO) variant and access ø using AltGr + (qwerty b) With v1.4 I instead get just an empty space or otherwise unprintable char, and sometimes I weirdly get {¤}

EDIT: on further testing it seems to repeat my last pressed button and {¤} represents backspace sometimes?

DreymaR commented 1 year ago

For non-layout key settings, look in the EPKL_Layouts.ini file. In this case, it looks as if your variant doesn't set the ISO key (which is on QWERTY B using the ISO Angle mod), and the default is a Repeat key. Look in the Big Bag for info about Compose and Repeat, and in the EPKL README.

You can easily override this, either by editing in one of the override files or by using the Key Mapper GUI.

In your case, I think your older override files should still work as they should. Generally though, some syntax could potentially change from version to version so be aware.

The weird {¤} bug has been fixed in the latest commits.

bnm12 commented 1 year ago

Any reason why this would have changed from v1.3.1 using the same config files? The layout images show it as ø correctly still

DreymaR commented 1 year ago

I don't remember 100% but I did remove some ISO key mappings from layouts so as to leave the default setting to the EPKL_Layouts file. That could be it.

Help images aren't automatically updated. You can generate new images using the EPKL HIG with Inkscape.

On a side note, I'd encourage you to look at new and exciting ways of getting your letters. I get my æøå from the CoDeKey these days! I hit a thumb key then another key to produce the special letters etc, which is a bit more comfy than holding down a modifier in my opinion. The main reason is that the CoDeKey can do so very much more, though! I still have the old AltGr mappings of course, but I mostly use the new way.

bnm12 commented 1 year ago

I've been doing some digging and I guess it has to do with this change? https://github.com/DreymaR/BigBagKbdTrixPKL/compare/EPKL_1-3-1...EPKL_1-4-0#diff-eb141f55ff551b54786f5214366e164f0111a824a56a8d7939e3b2e5c9e3bb5cR280-R311

This image doesn't seem to reflect the new behavior though https://github.com/DreymaR/BigBagKbdTrixPKL/blob/master/Layouts/Colemak/Cmk-eD/Cmk-eD_ISO_CurlAWideSym/state6.png

Sorry for being a pain but I really don't understand all the fine details of how all these config files play together and the AHK syntax etc. I don't really deal much with keyboards and keycodes, I just like Colemak CAWS and want to use it like I've gotten used to my å and æ are still there with AltGr, so it feels weird for me to have to type something like o/ + compose to get ø.

What do I need to put in my override to restore the ø instead of the repeat on AltGr+compose (ISO b)

I don't really understand the concept of the CoDeKey it sounds like the new cool thing but I have not found the documentation very helpful for a) How to set it up b) What it does

My main pain is just that the å and æ are accessible but ø no longer is. I guess I could switch to the DkNo locale version, but I like the location of [] and {} as a software dev quite well and I type english quite a lot of the time so when I type in danish it's not too big of a deal to have to hit a button to get the letters

DreymaR commented 1 year ago

No wonder you find it complex, because it is. Many cool tricks make for a daunting big bag.

I told you that help images aren't automatically updated. I saw no reason to update that image, as it's up to the user what to use that key for. A symbol like Œ or Ø is as good as any there.

On my setup though, AltGr plus the ISO key actually gives Ø. In the EPKL_Layouts_Override.ini file, I have: QW_LG = vc_LG 4 ®® ®4 -- ø Ø This makes the ISO key a Repeat key on the normal state, and ø on AltGr. You can make mappings like that using the KeyMapper menu (from the Layout/Settings menu choice).

The CoDeKey is indeed cool. There's documentation for it in the BigBag: https://dreymar.colemak.org/layers-main.html#sequences Let me know if anything needs to be added or reformulated there.

Setting it up will be platform specific – fortunately, EPKL has the good stuff. You can make a Compose key into a CoDeKey with the Special Keys settings menu.

bnm12 commented 1 year ago

Thank you that was the missing piece for me, I have set it up like this now QW_LG = vc_LG 4 ©Def @co1 -- ø Ø That seems close to what I had before, I'll experiment with replacing the compose part of that with a CoDeKey soon as that sounds like it does the exact same thing as compose plus more. One thing I'd like in the docs is that you have a table of settings for it that you like, but I'm pretty sure I've never seen a table like that in the config files. That means that while I have a bit of an idea of how to actually set it up, I still feel like having a real config line in there that can be dropped right into the config file as a test/demo would go a long way to making it more accessible

Anyway thanks for your help

DreymaR commented 1 year ago

Yes, a CoDeKey is kind of like a (post-hoc) Compose key on steroids. The only caveat I've found is that you shouldn't use any Compose sequences that occur in normal text. So I commented out the ones I found annoying. I've made replacement sequences for some of them (like oe for œ or ng for ŋ) starting with an apostrophe; just a little more work to type in but no biggie.

All you have to do to make that Def Compose key work as CoDeKey, is specify that Def is a CoDeKey in your Settings_Override file. You can do it on the Special Keys tab of the Settings GUI too.

Not entirely sure what you mean by a "table of settings for it that I like"? I try to keep the Override_Example files updated with some recommended but advanced settings; those are pretty close to what I use.

bnm12 commented 1 year ago

On the docs page that you linked (https://dreymar.colemak.org/layers-main.html#sequences) at the very bottom under CoDeKey there's a text table with some of your favourites. That's the one I was referring to not matching config file formats

DreymaR commented 1 year ago

Oh, I see. That's in the Big Bag which describes my tricks; it does not go into depth regarding how to implement them for each platform. That info is left for the platform implementations themselves. Were you under the impression that the Big Bag is an EPKL-specific site? If you activate one of the non-Windows platform icons it'll show some info on the other implementations. That's still far from comprehensive, I'm afraid.

If I made that table contain EPKL syntax, it'd be confusing for people wanting to make a CoDeKey with QMK or on some other platform. I can't do that. Such info must be in the EPKL repo, in readme files and code comments.

Since the CoDeKey is a dead key functionality, in the case of EPKL its mappings are in the deadkey file. Did you find it? https://github.com/DreymaR/BigBagKbdTrixPKL/blob/f2f1f1ef4221db88ab45dcbbbc4033b916148cdc/Files/_eD_DeadKeys.ini#L60-L145