code: def getDescriptor(self):
          
          result = USBEndpointDescriptor()
          self._ioctl(ENDPOINT_DESC, result, True)
          return result
docs: Returns the currently active endpoint descriptor
          (depending on current USB speed).