New to Logitech Script - Funcionality Problem
Basically iam trying to use this Macro for Logitech to Aim down sights when Holding Right mouse button.
I rebind the key INGAME to "J" Key, still when i press the middle mouse button, nothing happens after. Any help is much apriciated
function OnEvent(event, arg, family)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then -- Press mouse button 3 to toggle ads
ads = not ads
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 2) and ads then
PressKey("j"); Sleep(10); ReleaseKey("j")
end
if (event == "MOUSE_BUTTON_RELEASED" and arg ==2) and ads then
PressKey("j"); Sleep(10); ReleaseKey("j")
end
end
Change the "j" to whatever key you want to use for ads and make sure to assign the same key to targeting in game. This will not work if you don't rebind that key. Press middle mouse to toggle the script on and off.
- - - Updated - - -
Nobody that can help me with that ?