Mouse button
Posted: 05 Apr 2016, 19:22
Hi i'm a beginner whit this program. I would to remap a side button of mouse, bound to "left control". With lmc_print_devices() return that the mouse is detected like keyboard. I can set the button to "K" for example and it worked but is also pressed the "L Ctrl". My target is to have the "K" but no the "L Ctrl".
My lua:
-- assign logical name to macro keyboard
lmc_assign_keyboard('MACROS');
-- define callback for whole device
lmc_set_handler('MACROS',function(button, direction)
if (button == 17) then lmc_send_keys ("K")
end
end)
Any help?
Ps: Sorry for my bad english
My lua:
-- assign logical name to macro keyboard
lmc_assign_keyboard('MACROS');
-- define callback for whole device
lmc_set_handler('MACROS',function(button, direction)
if (button == 17) then lmc_send_keys ("K")
end
end)
Any help?
Ps: Sorry for my bad english