view stubs/pyudmx/pyudmx.pyi @ 1953:9dd331caa23b

cleanups to help with first build success Ignore-this: b6d402ca6dd2d97fb03c390713efbd07
author drewp@bigasterisk.com
date Thu, 06 Jun 2019 05:50:34 +0000
parents 5c1b662c0263
children
line wrap: on
line source

# 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: ...