Solaar/lib/hidapi
Matthias Hagmann 7d171b1d09 Refactor: Use dataclasses and enums
Replace NamedTuples with more flexible dataclass, which also support
type hints. Introduce enums to replace constant strings, which need to
be kept in sync. Also enhances interfaces by limiting it to the enum
values. Remove unused variables.
2024-05-22 21:14:41 -04:00
..
__init__.py hidapi: Unify imports in hidapi package (#2487) 2024-05-16 15:58:22 -04:00
common.py Refactor: Use dataclasses and enums 2024-05-22 21:14:41 -04:00
hidapi.py Refactor: Use dataclasses and enums 2024-05-22 21:14:41 -04:00
hidconsole.py hidapi: Unify imports in hidapi package (#2487) 2024-05-16 15:58:22 -04:00
udev.py Refactor: Use dataclasses and enums 2024-05-22 21:14:41 -04:00