How to use parenthesis without modifier group ?

Announcements, questions
Post Reply
Glaived
Posts: 3
Joined: 04 Jul 2017, 16:43

How to use parenthesis without modifier group ?

Post by Glaived » 04 Jul 2017, 16:48

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

Post Reply