Closed rpav closed 1 year ago
The KeyboardButton type allows one to send VK_* codes, but this function was crashing when getting non-strings. This fixes that.
KeyboardButton
Really killer library by the way. I'm using it to create something similar to Logitech's now-defunct LGS software, for qmk-firmware keyboards!
Hi, thanks, but can you use a ternary operator instead of an if else statement to avoid code repetition?
if else
No problem and done; I probably should have done that after experimenting.
The
KeyboardButton
type allows one to send VK_* codes, but this function was crashing when getting non-strings. This fixes that.Really killer library by the way. I'm using it to create something similar to Logitech's now-defunct LGS software, for qmk-firmware keyboards!