view stubs/usb/control.pyi @ 2019:a6045f11198d

don't show a misleading TL cursor when we're viewing a song that's not the playing one Ignore-this: 33928b4331aa09f2191b6d45e4e163a
author drewp@bigasterisk.com
date Mon, 10 Jun 2019 23:22:06 +0000
parents 5c1b662c0263
children
line wrap: on
line source

# Stubs for usb.control (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any, Optional

ENDPOINT_HALT: int
FUNCTION_SUSPEND: int
DEVICE_REMOTE_WAKEUP: int
U1_ENABLE: int
U2_ENABLE: int
LTM_ENABLE: int

def get_status(dev: Any, recipient: Optional[Any] = ...): ...
def clear_feature(dev: Any, feature: Any, recipient: Optional[Any] = ...) -> None: ...
def set_feature(dev: Any, feature: Any, recipient: Optional[Any] = ...) -> None: ...
def get_descriptor(dev: Any, desc_size: Any, desc_type: Any, desc_index: Any, wIndex: int = ...): ...
def set_descriptor(dev: Any, desc: Any, desc_type: Any, desc_index: Any, wIndex: Optional[Any] = ...) -> None: ...
def get_configuration(dev: Any): ...
def set_configuration(dev: Any, bConfigurationNumber: Any) -> None: ...
def get_interface(dev: Any, bInterfaceNumber: Any): ...
def set_interface(dev: Any, bInterfaceNumber: Any, bAlternateSetting: Any) -> None: ...