def show_devices(verbose=False, **kwargs):
 kwargs['find_all'] = True
 devices = find(**kwargs)
 strings = ''
 for device in devices:
  if (not verbose):
   strings += ('%s, %s\n' % (device._str(), _try_lookup(_lu.device_classes, device.bDeviceClass)))
  else:
   strings += ('%s\n\n' % str(device))
 return _DescriptorInfo(strings)

def show_devices ( verbose = False , ** kwargs ) : kwargs [ 'find_all' ] = True devices = find ( ** kwargs ) strings = '' for device in devices : if ( not verbose ) : strings += ( '%s, %s\n' % ( device . _str ( ) , _try_lookup ( _lu . device_classes , device . bDeviceClass ) ) ) else : strings += ( '%s\n\n' % str ( device ) ) return _DescriptorInfo ( strings )
show information about connected devices .