-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKeyToggles.ini
More file actions
109 lines (86 loc) · 7.63 KB
/
KeyToggles.ini
File metadata and controls
109 lines (86 loc) · 7.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
; KeyToggles v2.3
[General]
; Name of the process to hook (mandatory, case sensitive)
; To retrieve the name of the process, you have 2 solutions:
; Method 1
; 1. Open Task Manager.
; 2. Go to the Processes tab.
; 3. Right click the entry corresponding to your game.
; 4. Select "Go to details".
; 5. The name of the process will be highlighted in the Details tab.
; Method 2
; Use the built-in configurator and click the Browse button at the top.
processName=""
; Title of the window to hook (optional, case sensitive)
; To retrieve the title of the game's window, you have 2 solutions:
; Method 1
; 1. Launch your game in windowed mode.
; 2. The name of the window will be displayed on the left side of the title bar.
; Method 2
; 1. Launch your game
; 2. Tab out.
; 3. Open Task Manager.
; 4. Go to the Processes tab.
; 5. Expand the entry corresponding to your game.
; 6. The name of the window will be one of the expanded entries.
; Method 3
; Use Window Spy (included with AutoHotkey).
windowName=""
; How much time (in milliseconds) to wait before sending another input in autofire mode
autofireKeyInterval=100
; Fixes common system key combinations (such as Alt+Tab) not working when toggle keys are modifiers (0 to disable)
fixSystemKeys=1
; How much time (in milliseconds) to wait before checking if the window is active (again)
; If the window is no longer active, all keys will be released
focusCheckInterval=1000
; How much time (in milliseconds) to wait before hooking the window once it becomes active
; Increase this delay if the window you're trying to hook isn't the right one (or use windowName)
hookDelay=0
; How much time (in milliseconds) to wait between key press and release in hold/autofire/autofire hold modes
; Increase this delay in case keystrokes aren't registered in some games
keyDelay=0
; Restores autofire toggles to their previous state when the window regains focus (1 to enable)
restoreAutofiresOnFocus=0
; Restores toggles to their previous state when the window regains focus (1 to enable)
restoreTogglesOnFocus=0
; Forces the script to run as admin (1 to enable)
runAsAdmin=0
; Shows notifications when certain events occur (only works in windowed mode)
; 0: disabled
; 1: system notifications
; 2: tooltips
showNotifications=0
; Use these to set key modes individually
; 0: disabled
; 1: toggle (converts keys that must be held down into toggle keys)
; 2: hold (converts keys that must be toggled into hold keys)
; 3: autofire toggle (pressed by toggling the corresponding autofire key)
; 4: autofire hold (pressed by holding the corresponding autofire key)
aimMode=0
crouchMode=0
sprintMode=0
; 0: disabled
; 1: autorun (press once to start autorunning, press again to stop)
autorunMode=0
; See https://www.autohotkey.com/docs/KeyList.htm for key IDs
[Keys]
; Main keys (automatically disabled if set to autofire mode)
; Even though their name suggests their typical use case, they can be set to perform other actions (ex: jump)
aimKey=RButton
crouchKey=LControl
sprintKey=LShift
; Autorun keys (automatically disabled if not set to autorun mode)
; Autorunning is automatically disengaged when pressing the forward or backward key
autorunKey=F1
forwardKey=w
backwardKey=s
; Autofire keys (automatically disabled if not set to autofire mode)
; Repeatedly simulates pressing the corresponding main key until pressed again (autofire toggle mode)
; Repeatedly simulates pressing the corresponding main key while held down (autofire hold mode)
aimAutofireKey=F2
crouchAutofireKey=F3
sprintAutofireKey=F4
[Debug]
; Enables debug traces (you'll need https://www.autohotkey.com/docs/v2/lib/OutputDebug.htm#Remarks to see them)
; and advanced functions such as closing (ALT + F10) or reloading (ALT + F11) the script (1 to enable)
debugMode=0