TaranVH / 2nd-keyboard

ALL of Taran's scripts - not just for the 2nd keyboard.
https://www.youtube.com/watch?v=O6ERELse_QY
1.66k stars 534 forks source link

Remove unnecessary IF function #67

Open Wegerich opened 5 years ago

Wegerich commented 5 years ago

The IF function that was previously here is unnecessary because LUA already checks whether a device is already matching the specified name when lmc_assign_keyboard('name'); is run. If the device is assigned then it will not ask for manual assignment.