def get_device_info(device):
    """ Returns a string containing input device information.
        format: '<filename> "<name>" (<physical address>)' 
    """
    return '{} "{}" ({})'.format(device.fn, device.name, device.phys)