keygen
keygen copied to clipboard
Is there a way to specify a mask to fix some keys?
I’m looking for a way to let keygen optimize my layout, but without touching a few keys (e.g. ZXCV, quote, minus…). I think CarpalX allows that kind of masks. Is there such a feature in keygen ?
Giving a quick look at the code, I’ve seen a promising (though unused) LAYOUT_MASK: LayoutShuffleMask and a LAYOUT_MASK_SWAP_OFFSETS, but none of them seems to be what I’m looking for.
I’ve set LAYOUT_MASK_NUM_SWAPPABLE to 28 instead of 33 to keep the thumb keys and punctuation cluster untouched, but I’d like to preserve a specific set of keys, too.
Is there any option I’ve missed ? Otherwise, where should I look if I wanted to implement that ?