AnomityP (01-25-2018)
Lastest logitech mouses like G403, G pro, G900 don't have a feature of assigning macro to LMB and RMB.
So basically, you have to assign no-recoil macro to mouse4, mouse 5 or etc.
It would be hard to aim while pressing these buttons.
So i made a copy&pasted LUA script by referencing to these two threads.
-Recoil Macro for Logitech Gaming Mouse (from PUBG forum) (shift+2)asscold1
-Logitech Macro's (from rainbow six forum) (shift+2)ironwsmroei
Just add this function to your profile.function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %d\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
elseif event == "PROFILE_DEACTIVATED" then
ReleaseMouseButton(2) -- to prevent it from being stuck on
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
recoil = not recoil
spot = not spot
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
if recoil then
repeat
MoveMouseRelative(-2, 5)
Sleep(10)
MoveMouseRelative(2, -5)
Sleep(21)
until not IsMouseButtonPressed(1)
end
end
end
Pressing Mouse button 4 will enable/disable no-recoil.
Last edited by benq1234; 05-13-2017 at 07:20 AM.
AnomityP (01-25-2018)
Hi man the Logitech Macro's thread was made by me can you maybe just add @ironwsmroei next to it thx
I was trying to add thread link, but mpgh says i can't upload link.
(shift+2)ironwsmroei neither.. sry
instead i added (shift+2)ironwsmroei.
thx for you script
Last edited by benq1234; 05-13-2017 at 07:17 AM.
Vazi963 (11-07-2017)
I'm really enjoying your script
Thx for sharing.
Last edited by benq1234; 05-13-2017 at 07:17 AM.
I just shake it in the game, just outside the window
Can you post a video about this?
EDIT: works great, thanks
Can you expand the script that lighting color will be different when norecoil is ON and OFF? That would be great!
Last edited by drum213; 05-16-2017 at 08:39 AM.
Test on a Logitech G403 and i dont work
@Herotic
Hello, Great job works perfectly with a Logitech G502.
The best script I had, it works with all weapons. The recoil is perfect.
My big question is whether it is possible to do this ban with this script?
Will it work forever?
Thanks You!
Last edited by Vazi963; 11-05-2017 at 07:45 PM.
Vazi963 (11-07-2017)