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.

Split libinput contexts into udev/path classes #2

@whot

Description

@whot

Since python is supposed to abstract this nicely, better than C anyway you should have a

class LibInput:
   # almost everything

class LibInputUdev(LibInput):
   # the few udev functions

class LibInputPath(LibInput):
   # the few path functions

And then maybe a Libinput.context(ContextType=UDEV) (see #1) that returns the right object. This way you don't have a path_foo() function on a udev context and vice versa

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