mooz/xkeysnail

Mapped CapsLock to Ctrl, but Ctrl + mouse clicks and scroll does not work

abzrg opened this issue · 0 comments

abzrg commented

I mapped CapsLock to be both Ctrl and Escape:

define_multipurpose_modmap({
    Key.CAPSLOCK: [Key.ESC, Key.LEFT_CTRL]
})

However, when I try to zoom into my browser with Ctrl + mouse scroll up/down, it does not zoom. Or when I want to open a link in a new tab with Ctrl + mouse click it does not work.

Note that I previously was able to use setxkbmap to map CapsLock to Ctrl, and it handled mouse clicks.

setxkbmap -option "caps:ctrl_modifier"

With xkeysnail running I cannot do that.

Do you know how can I fix this?