implements a text search for comboboxes

This commit is contained in:
2023-08-23 02:04:18 +01:00
parent cda5e0379b
commit 0db0511dc9
3 changed files with 45 additions and 9 deletions

View File

@@ -11,3 +11,7 @@ def get_insert_checkbox_index(kind, channel, num):
else:
return 2 * num - 1
return (2 * kind.phys_in) + (8 * (num - kind.phys_in - 1)) + channel
def get_input_device_list(vm):
return ["{type}: {name}".format(**vm.device.output(i)) for i in range(vm.device.outs)]