diff --git a/stubs/pyudmx/pyudmx.pyi b/stubs/pyudmx/pyudmx.pyi new file mode 100644 --- /dev/null +++ b/stubs/pyudmx/pyudmx.pyi @@ -0,0 +1,15 @@ +# Stubs for pyudmx.pyudmx (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import usb.core +from typing import List, Union + +class uDMXDevice: + def __init__(self) -> None: ... + @property + def Device(self) -> usb.core.Device: ... + def open(self, vendor_id: int=..., product_id: int=..., bus: int=..., address: int=...) -> bool: ... + def close(self) -> None: ... + def send_single_value(self, channel: int, value: int) -> int: ... + def send_multi_value(self, channel: int, values: Union[List[int], bytearray]) -> int: ...