jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
3.08k stars 129 forks source link

Feature request: chordsV2 keep keys pressed #1227

Closed aljustiet closed 2 months ago

aljustiet commented 2 months ago

Is your feature request related to a problem? Please describe.

I don't like when kanata stops pressing the key when one key is released with the first-release option. I have the shift_control_layer, and when I release the shift key, I can't use the ctrl+tab, which is frustrating.

Describe the solution you'd like.

Make it so it continues pressing the ctrl even if one key is released.

Describe alternatives you've considered.

Not using the chordsV2. But it's very easy and simple to configure it this way.

Additional context

Kernel: linux 6.10.8-arch1-1 my kanata config

jtroo commented 2 months ago

Have you tried the documented all-released option?

aljustiet commented 2 months ago

Have you tried the documented all-released option?

It makes it behave like if even one key is pressed, it will press only ctrl+shift+tab instead of pressing ctrl+tab when the shift is released.

jtroo commented 2 months ago

Yes that is the behaviour. You may want to look into defoverrides or release-key to get the behaviour you want.

aljustiet commented 2 months ago

Yes that is the behaviour. You may want to look into defoverrides or release-key to get the behaviour you want.

Got desired behavior by adding this line:

(defoverrides
  (lalt lsft t) (lctl lsft t)
)