Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires AutoHotkey v2
- #SingleInstance Force
- /*
- =====================================
- README - IMPORTANT NOTICE
- =====================================
- Some games use anti-cheat systems that block AutoHotkey
- scripts. In such cases, the game may crash, refuse to start,
- or even mark the script as cheating. Use this script at
- your own risk.
- Some popular games that may have problems with AHK:
- - Apex Legends (Easy Anti-Cheat) - game will not start if AHK is running
- - The Finals (Easy Anti-Cheat) - game may crash if AHK is active
- - PUBG (BattlEye) - may block AHK, better to disable before playing
- - Valorant (Vanguard) - completely blocks AHK
- - Fortnite (EAC) - blocks or may ban if AHK is detected
- - Call of Duty: Warzone (Ricochet) - likely blocks AHK
- - Other games with strict anti-cheat may also block or ban
- In single-player or less protected games AHK usually works fine.
- =====================================
- LOGITECH G502 HERO - KEY MAPPING
- =====================================
- NOTE:
- - To activate a mapping, remove the semicolon ;
- e.g. ;F14::Alt -> F14::Alt
- - Remaps are based on F13-F18 keys
- assigned in Logitech G HUB and stored
- in the onboard memory of the mouse
- =====================================
- */
- ; G7 (DPI Down)
- ;F13::
- ; G8 (DPI Up)
- F14::Alt ; active example
- ; G9 (Scroll Left)
- ;F15::
- ; G10 (Scroll Right)
- ;F16::
- ; G11 (Button under scroll wheel - Profile/DPI)
- ;F17::
- ; G6 (DPI Shift / Sniper)
- ;F18::
- /*
- =====================================
- QUICK REFERENCE - EXAMPLES
- =====================================
- F14::Alt ; F14 acts as Alt
- F14::X ; F14 acts as X
- F14::Send "x" ; F14 types the letter "x" (single press)
- F14::Send "^c" ; F14 = Ctrl+C (copy)
- F16::Send "!{Tab}" ; F16 = Alt+Tab (switch window)
- Symbols in Send:
- ^ = Ctrl
- ! = Alt
- + = Shift
- # = Win
- F14::Run "notepad.exe" ; opens Notepad
- F14::MsgBox "Hello world!" ; Shows a message box
- */
Advertisement
Add Comment
Please, Sign In to add comment