Code: Select all
lmc_device_set_name("macropad", "164629A3")
lmc_set_handler("macropad", function(button, direction)
if(direction == 1) then return end -- ignore keydown
if(button == 96 or button == string.byte("NUM0")) then
lmc_send_keys("t")
lmc_send_keys("just a (test)~")
end
end)
how to do ?
thanks