swhkd icon indicating copy to clipboard operation
swhkd copied to clipboard

evdev could not find mouse3 (os-error 25)

Open nots1dd opened this issue 9 months ago • 0 comments

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:

Image

With debug:

Image

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

nots1dd avatar Mar 20 '25 06:03 nots1dd