diff --git a/src/main/python/main.py b/src/main/python/main.py index c4372ce..441d125 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -310,7 +310,7 @@ def on_click_refresh(self): for dev in hid.enumerate(): vid, pid = dev["vendor_id"], dev["product_id"] - if (vid, pid) in self.device_descs and dev["interface_number"] == 0: + if (vid, pid) in self.device_descs and dev["interface_number"] <= 0: self.combobox_devices.addItem("{} [{:04X}:{:04X}] {} {} ".format( self.device_descs[(vid, pid)], vid, pid, dev["manufacturer_string"], dev["product_string"])) self.devices.append(dev)