mooz / xkeysnail

Yet another keyboard remapping tool for X environment
890 stars 112 forks source link

Just to confirm: some "weird" mappings, they aren't possible? #159

Closed for-coursera closed 2 years ago

for-coursera commented 2 years ago

Mappings like modifiers only to something (e.g., RAlt-LAlt to RSuper-Space), I can't define such combos, right? Or several keys without modifiers to something (e.g., Caps-F1 to Shift-F1), I can't do this, too?

My understanding is that it's not possible, but just wanted to confirm to know this for sure :)

Sorry for possible misunderstandings.

joshgoebel commented 2 years ago

Nope, but with multipurpose modmaps you could use caps lock by assigning it to one of the ACTUAL modifiers, that's actually oneo f the examples in the example config.py:

# Capslock is escape when pressed and released. Control when held down.
# {Key.CAPSLOCK: [Key.ESC, Key.LEFT_CTRL]
for-coursera commented 2 years ago

Thanks, Josh!