swhkd
swhkd copied to clipboard
evdev could not find mouse3 (os-error 25)
In my /dev/input I only have mouse0 - mouse2 but swhkd attempts to open dev mouse3 which does not exist
Context:
Distro: Arch Linux 6.13.5-zen1-1-zen Type of build: Build from source Commit: Latest commit from github
Replicating this issue:
make setup
make clean
make
cd target/release
./swhks
sudo ./swhkd
Screenshot of issue:
With debug:
It seems that the issue might be stemming from here (in uinput.rs):
evdev::enumerate().filter(|(_, dev)| check_device_is_keyboard(dev)).collect()
It finds 3 keyboard devices but the way it tries to find them I think is causing this problem