Covert Logitech mouse lua script
Posted: 05 Jun 2018, 04:23
Hello, I have this Logitech gaming mouse that has a option to add a lua script to it but to start the script I have to click one of the mouse buttons, I am trying to make it where I can use the same script but have a keyboard hot key to start it instead of the mouse key will this tool allow me to do this? I attached the script I am using in my mouse function
OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
MoveMouseTo(21299,12267)
PressAndReleaseMouseButton(1)
MoveMouseTo(7653,18546)
end
end
OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
MoveMouseTo(21299,12267)
PressAndReleaseMouseButton(1)
MoveMouseTo(7653,18546)
end
end