File: common.py

package info (click to toggle)
solaar 1.1.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,936 kB
  • sloc: python: 26,935; sh: 444; xml: 158; makefile: 75
file content (20 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from __future__ import annotations

import dataclasses


@dataclasses.dataclass
class DeviceInfo:
    path: str
    bus_id: str | None
    vendor_id: str
    product_id: str
    interface: str | None
    driver: str | None
    manufacturer: str | None
    product: str | None
    serial: str | None
    release: str | None
    isDevice: bool
    hidpp_short: str | None
    hidpp_long: str | None