Down button getting spammed in Emacs
Hi there, I built interception-tools and caps2esc and am attempting to use it but I stumbled upon 3 glitches:
- If I move to the top and then switch away to another workspace and switch back to Emacs, the cursor spams down until it reaches the bottom of the buffer.
- The
Enter
key above the arrow buttons no longer works. But theEnter
key by the numpad works. - Sometimes my mouse freezes, I have to kill it and try again.
Ctrl-C
doesn't kill though and I have to send kill tocaps2esc
andintercept
I'm using swaywm on Void and I'm running it like so:
sudo nice -n -20 udevmon -c udevmon.yaml >udevmon.log 2>udevmon.err
The udevmon.yaml
looks like this:
- JOB: intercept -g $DEVNODE | caps2esc -m 1 | uinput -d $DEVNODE
DEVICE:
EVENTS:
EV_KEY: [KEY_CAPSLOCK, KEY_ESC]