You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wonderful utility! Could we add a function to swap keys that doesn't cause loops, i.e. swap KEY_CAPSLOCK and KEY_LEFTCTRL.
For example, I'd like the physical CAPSLOCK key to do the dual_role, and the physical LEFTCTRL to emit CAPSLOCK.
This doesn't work as intended:
[[dual_role]]
input = "KEY_CAPSLOCK"
hold = ["KEY_LEFTCTRL"]
tap = ["KEY_ESC"]
[[remap]]
input = ["KEY_LEFTCTRL"]
output = ["KEY_CAPSLOCK"]
I understand I can do something like:
[[dual_role]]
input = "KEY_CAPSLOCK"
hold = ["KEY_LEFTCTRL"]
tap = ["KEY_ESC"]
[[dual_role]]
input = "KEY_LEFTCTRL"
hold = ["KEY_LEFTCTRL"]
tap = ["KEY_CAPSLOCK"]
But I can still see some use case for a real swapping. Perhaps a way to specify the original "physical" key?
The text was updated successfully, but these errors were encountered:
Thank you. These workarounds, including your version and mine, are doable. I chose mine because I have my downstream application that needs to distinguish LEFT-CTRL and RIGHT-CTRL. Either way, I'm still wondering whether this is a feature worth adding -- it's probably unlikely that there's a use case for re-defining a hold/tap output.
Wonderful utility! Could we add a function to swap keys that doesn't cause loops, i.e. swap
KEY_CAPSLOCK
andKEY_LEFTCTRL
.For example, I'd like the physical
CAPSLOCK
key to do the dual_role, and the physicalLEFTCTRL
to emit CAPSLOCK.This doesn't work as intended:
I understand I can do something like:
But I can still see some use case for a real swapping. Perhaps a way to specify the original "physical" key?
The text was updated successfully, but these errors were encountered: