(self, interface, alt_setting)
Set interface's alternative setting (both parameters are integers).
Set interface's alternative setting (both parameters are integers).
Set interface s alternative setting ( both parameters are integers ) .
def setInterfaceAltSetting(self, interface, alt_setting):
        """
        Set interface's alternative setting (both parameters are integers).
        """
        result = libusb1.libusb_set_interface_alt_setting(self.__handle,
                                                          interface,
                                                          alt_setting)
        if result:
            raise libusb1.USBError(result)
def setInterfaceAltSetting ( self , interface , alt_setting ) : result = libusb1 . libusb_set_interface_alt_setting ( self . __handle , interface , alt_setting ) if result : raise libusb1 . USBError ( result )