Results 1 to 7 of 7

Threaded View

  1. #1
    Dr.Hirsch's Avatar
    Join Date
    Jan 2022
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    3

    Post Universal No Recoil for Logitech

    Wanting to share what I have used for the last 2+ years.

    It is universal and works for any game. You can change the strength of the recoil reduction on the fly, by pressing MouseWheel left/right.
    Enjoy.

    Code:
    -- Universal_Simplified for Logitech GHUB
    -- only testet on G604
    
    -- some times you have to close GHUB through Taskmanager and launch it as admin, not my fault
    
    -- main feature :
    -- with mousewheel right you can increase NoRecoil strength, with mouse wheel left you can reduce strength
    -- change UP,DOWN if you mouse does not support this
    -- so you can use it in any game and with any weapon
    -- for use in games like PUBG,RainbowSix,SuperPeople...
    -- 2+ Years no ban
    
    -- to keep track of you strength values use 
    -- the console in LGHUB, 2nd screen required looks like this :
    -- https://imgur.com/qoiMpRi
    -- or https://docs.microsof*****m/en-us/sysinternals/downloads/debugview and filter for *NR*, can be used as overlay
    -- https://imgur.com/3P2GbW2
    
    --Settings--
    --General--
    UP = 13                     -- to increase NoRecoil strength, toggle Modify to change RapidFire strenght
    DOWN = 12                   -- to reduce NoRecoil strength, toggle Modify to change RapidFire strenght
    --NoRecoil
    NR = 4		                -- distance to pull down, (default) recoil reduction
    HorizontalRecoilModifier=0	-- unused, is for left right recoil	 
    Sleep_ = 10                    -- delay between pull down, less for smoother
    --BINDS--	
    --General--                 
    UP = 13                     -- to increase NoRecoil strength, + Modify to increase RapidFireNoRecoil
    DOWN = 12                   -- to reduce 	
    --NoRecoil 									
    RC = 3                        -- right click, when you press RC and LC it pulls down
    LC = 1                        -- Left click, key boud to shoot ingame 
    
    --FUNCTIONS--						
    EnablePrimaryMouseButtonEvents(true);   -- to capture primary (1) klick
    OutputDebugMessage("Profil Aktiv")
    function NoRecoil()
    	repeat
    	MoveMouseRelative(0,NR)
    	Sleep(Sleep_)
    until not IsMouseButtonPressed(LC)
    end
    --NoRecoilModify
    function Add()
        NR=NR+1 	
        if (NR>10) then
            NR=0
        end 		
        OutputLogMessage("NR %d\n", NR)
        OutputDebugMessage("NR %d\n", NR)
    end
    function Reduce()
        NR=NR-1 	
        if (NR<0) then
            NR=10
        end
        OutputLogMessage("NR %d\n", NR)
        OutputDebugMessage("NR %d\n", NR)
    end
    --increaseAndReduce
    function OnEvent(event, arg)	
    
        if (event == "MOUSE_BUTTON_PRESSED" and arg == UP) then
            Add() 
        end
        if (event == "MOUSE_BUTTON_PRESSED" and arg == DOWN) then
            Reduce()
        end
        if IsMouseButtonPressed(RC)then	                           
            repeat
                if IsMouseButtonPressed(LC)  then
                    NoRecoil()
                end
            until not IsMouseButtonPressed(RC)
        end
    end

  2. The Following 3 Users Say Thank You to Dr.Hirsch For This Useful Post:

    AHITMAN (02-19-2022),nikb81 (01-19-2023),Sqtuirtle (01-27-2022)

Similar Threads

  1. [Help Request] No recoil for g402 logitech
    By ricky122 in forum Rainbow Six: Siege Discussions & Help
    Replies: 9
    Last Post: 11-13-2019, 02:36 PM
  2. [Help] NO recoil or Macro for Logitech g402
    By mysterios29 in forum Rainbow Six: Siege Discussions & Help
    Replies: 6
    Last Post: 03-09-2019, 02:13 PM
  3. guys any Macro no-recoil for logitech that working?
    By Alexnoj in forum PUBG Discussions & Help
    Replies: 0
    Last Post: 03-07-2019, 02:24 PM
  4. [Unresolved] Latest no recoil for logitech G502 mouse
    By HKoKoOo in forum Counter-Strike 2 Help
    Replies: 3
    Last Post: 07-15-2017, 11:22 AM
  5. Black shot Global No Recoil Macros for Logitech
    By NeedHelpPles in forum Blackshot Help
    Replies: 3
    Last Post: 03-08-2017, 06:37 AM