Page 1 of 1

How to use parenthesis without modifier group ?

Posted: 04 Jul 2017, 16:48
by Glaived
Example :

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)
Write "just a test" but I would like to keep my parentheses.

how to do ?

thanks