Feature Request: is device found
Posted: 05 Jun 2016, 11:02
Should return a boolean if a device exists / set to a name
My use case is that I have a keypad that changes ID every time I switch it's port.
I want to be able to check to see that the device is set up correctly on macro start
for example
unsure if you want to allow it to also take the device id
My use case is that I have a keypad that changes ID every time I switch it's port.
I want to be able to check to see that the device is set up correctly on macro start
for example
Code: Select all
lmc_device_set_name('kp', '12AAE65F') --Set Device
if (!lmc_device_exists('kp')) then --Check if it did not work
lmc_print_devices() --so print out our list
lmc.minimizeToTray = false
end