evsieve icon indicating copy to clipboard operation
evsieve copied to clipboard

Evsieve not passing through ctrl+shift+w or ctrl+shift+s for unknown reasons

Open oneirophon opened this issue 11 months ago • 2 comments

So I don't know how long this has been going on as I rarely used these hotkeys before, but today, I was working on an Emacs keymap and wanted to use ctrl+shift+w and ctrl+shift+s as two of the hotkeys. Emacs didn't seem to be even receiving the keypress events, and so I checked if other programs could use those particular hotkeys, and it didn't work in anything I tried, for example, using ctrl+shift+s to "save as..." in GIMP. I narrowed the problem down to Evsieve (the problem goes away when it's not running), but all I have in my config is adjusting the mouse sensitivity and swapping ctrl and capslock. Some other ctrl+shift key combinations work, including ctrl+shift+p to open a private window in Firefox.

I'm running Artix Linux with Sway on an old Dell laptop. (Edit: I'm also using the main branch of Evsieve, not the stable release.) Evsieve commands:

#!/bin/bash


if test -e /dev/input/by-id/usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse ; then
        evsieve --input /dev/input/by-id/usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse grab \
                --scale rel:x rel:y factor=0.25 \
                --output create-link=/dev/input/by-id/virtual-mouse \
                --input /dev/input/by-path/platform-i8042-serio-0-event-kbd grab \
                --map yield key:leftctrl key:capslock \
                --map yield key:capslock key:leftctrl \
                --output
else
        evsieve --input /dev/input/by-path/platform-i8042-serio-0-event-kbd grab \
                --map yield key:leftctrl key:capslock \
                --map yield key:capslock key:leftctrl  \
                --output
fi

oneirophon avatar Jan 20 '25 00:01 oneirophon