Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

Constructor should take an enum, not a true/false for udev  #1

@whot

Description

@whot

libinput currently has a udev and a path interface but in the future we may have more than that. I think it'd be better if you provide a ContextType enum (or something similar) rather than the current udev=False in the constructor. Bonus - more obvious code:

l = LibInput(context=ContextType.UDEV)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions