Results 1 to 15 of 216

Threaded View

  1. #1
    asscold1's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    9

    Recoil Macro for Logitech Gaming Mouse

    Recently I founded this code and added this script in my mouse.
    Code:
    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
                    --Sleep(35)
                    Sleep(8)
                    MoveMouseRelative(0, 2)
                   
                until not IsMouseButtonPressed(1)
            end
        end
    end
    This code manage to control all type of AR and SMG recoil while tap or spray with normal scope, dot scope, and holographic.

    But I wasn't able to make 4x scope and 8x scope's recoil steady. Can someone help me out with this and I am trying to make it when I press a certain key it will switch between all type of scope recoil.

  2. The Following 7 Users Say Thank You to asscold1 For This Useful Post:

    972364075 (08-22-2017),ashui2011225 (09-18-2017),Chaos_Trill (12-16-2017),dreiker (11-15-2017),leixi (07-14-2018),maksumus1087 (07-17-2017),poolfish (07-03-2017)

Similar Threads

  1. [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
  2. [Release] The Division - Mouse Macros for Logitech Mouses - Logitech Gaming Software
    By prazx in forum Tom Clancy's The Division Hacks & Cheats
    Replies: 11
    Last Post: 07-09-2018, 04:07 PM
  3. Black shot Global No Recoil Macros for Logitech
    By NeedHelpPles in forum Blackshot Help
    Replies: 3
    Last Post: 03-08-2017, 06:37 AM
  4. [Request] Logitech no recoil macro for M16A3
    By Migulin in forum Battlefield Hardline Hacks & Cheats
    Replies: 3
    Last Post: 02-17-2016, 03:03 AM
  5. [Solved] A4Tech Macros for Logitech Gaming Software?
    By ExXxO in forum Battlefield 4 Help
    Replies: 7
    Last Post: 03-05-2014, 01:30 AM