Skip to content

evdev could not find mouse3 (os-error 25) #301

@nots1dd

Description

@nots1dd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions