def set_feature(dev, feature, recipient=None):
 (bmRequestType, wIndex) = _parse_recipient(recipient, util.CTRL_OUT)
 dev.ctrl_transfer(bmRequestType=bmRequestType, bRequest=3, wIndex=wIndex, wValue=feature)

def set_feature ( dev , feature , recipient = None ) : ( bmRequestType , wIndex ) = _parse_recipient ( recipient , util . CTRL_OUT ) dev . ctrl_transfer ( bmRequestType = bmRequestType , bRequest = 3 , wIndex = wIndex , wValue = feature )
set/enable a specific feature .