-
-
Save MartinHarding/3155be5e286e3f483223a1e21024c554 to your computer and use it in GitHub Desktop.
I figured it OUT! AutoHotKey can get you banned tho in some games? Here- for any future people who come across this your welcome! This is working in the LGS Software with a Logitech G502 or G502 Hero. Hmu for more details on what it does, thanks @johnwang16
"function OnEvent(event, arg)
if IsKeyLockOn ("capslock") then
if event == "MOUSE_BUTTON_PRESSED" and arg == 8 then
PressKey("B")
end
if event == "MOUSE_BUTTON_RELEASED" and arg == 2 then
ReleaseKey("B")
end
elseif IsMouseButtonPressed(3)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(8)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(3)
end
end"
Is there any way to apply this profile to a Logitech Ergo MX?
https://github.com/RavenBHK/DBD-Left-Hold-and-Auto-Run
I used to above macro and am trying to combine with this one. Can anyone help?
No, not with logitech scripting. https://douile.github.io/logitech-toggle-keys/APIDocs.pdf
AutoHotkey is what you want to use