示例#1
0
 def __init__(self, dev, backend):
     self.backend = backend
     self._active_cfg_index = None
     self.dev = dev
     self.handle = None
     self._claimed_intf = _interop._set()
     self._ep_info = {}
示例#2
0
文件: core.py 项目: AndreySV/pyusb
 def __init__(self, dev, backend):
     self.backend = backend
     self._active_cfg_index = None
     self.dev = dev
     self.handle = None
     self._claimed_intf = _interop._set()
     self._ep_info = {}
示例#3
0
文件: core.py 项目: n1ywb/quisk
 def __init__(self, parent, dev, backend):
     self.backend = backend
     self._active_cfg_index = None
     self.dev = dev
     self.handle = None
     self._claimed_intf = _interop._set()
     self._alt_set = {}
     self._ep_type_map = {}
示例#4
0
 def __init__(self, parent, dev, backend):
     self.backend = backend
     self._active_cfg_index = None
     self.dev = dev
     self.handle = None
     self._claimed_intf = _interop._set()
     self._alt_set = {}
     self._ep_type_map = {}