9 changed files with 388 additions and 388 deletions
@ -1,25 +1,25 @@ |
|||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
#Include ../lib/HoldRepeat.ahk |
#Include ../lib/HoldRepeat.ahk |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; Hold/Autoclick mouse buttons |
; Hold/Autoclick mouse buttons |
||||
; Holds if single click, autoclicks if double click |
; Holds if single click, autoclicks if double click |
||||
*!LButton UP::HoldOrRepeat("LButton") |
*!LButton UP::HoldOrRepeat("LButton") |
||||
*!RButton UP::HoldOrRepeat("RButton") |
*!RButton UP::HoldOrRepeat("RButton") |
||||
|
|
||||
; Hold/Repeat spacebar |
; Hold/Repeat spacebar |
||||
*!Space UP::HoldOrRepeat("Space") |
*!Space UP::HoldOrRepeat("Space") |
||||
|
|
||||
; Autorun |
; Autorun |
||||
*!w UP::Hold("w",["s"]) |
*!w UP::Hold("w",["s"]) |
||||
*!s UP::Hold("s",["w"]) |
*!s UP::Hold("s",["w"]) |
||||
*!a UP::Hold("a",["d","w","s"]) |
*!a UP::Hold("a",["d","w","s"]) |
||||
*!d UP::Hold("d",["a","w","s"]) |
*!d UP::Hold("d",["a","w","s"]) |
@ -1,39 +1,39 @@ |
|||||
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
||||
; https://www.autohotkey.com |
; https://www.autohotkey.com |
||||
|
|
||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include general library |
; Include general library |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
|
|
||||
; Include XInput library |
; Include XInput library |
||||
#Include ../thirdparty/XInput/XInput.ahk |
#Include ../thirdparty/XInput/XInput.ahk |
||||
|
|
||||
; Only do hotkeys if relevant window is |
; Only do hotkeys if relevant window is |
||||
;#If WinActive("Dark Souls III") |
;#If WinActive("Dark Souls III") |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
XInput_Init() |
XInput_Init() |
||||
|
|
||||
PrevState := 0 |
PrevState := 0 |
||||
Loop { |
Loop { |
||||
State := XInput_GetState(0) |
State := XInput_GetState(0) |
||||
if ( State.wButtons & XINPUT_GAMEPAD_LEFT_THUMB ) { |
if ( State.wButtons & XINPUT_GAMEPAD_LEFT_THUMB ) { |
||||
if (PrevState == 0) { |
if (PrevState == 0) { |
||||
Send {LButton down} |
Send {LButton down} |
||||
Send {w down} |
Send {w down} |
||||
PrevState := 1 |
PrevState := 1 |
||||
} |
} |
||||
} else { |
} else { |
||||
if (PrevState == 1) { |
if (PrevState == 1) { |
||||
Send {LButton up} |
Send {LButton up} |
||||
Send {w up} |
Send {w up} |
||||
PrevState := 0 |
PrevState := 0 |
||||
} |
} |
||||
} |
} |
||||
Sleep 50 |
Sleep 50 |
||||
} |
} |
@ -1,97 +1,97 @@ |
|||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include "../lib/Prelude.ahk" |
#Include "../lib/Prelude.ahk" |
||||
#Include "../lib/HoldRepeat.ahk" |
#Include "../lib/HoldRepeat.ahk" |
||||
|
|
||||
; Make this a wrapper script |
; Make this a wrapper script |
||||
WrapperPath:="steam://rungameid/548430" |
WrapperPath:="steam://rungameid/548430" |
||||
WrapperWindow:="Deep Rock Galactic " |
WrapperWindow:="Deep Rock Galactic " |
||||
#Include "../lib/Wrapper.ahk" |
#Include "../lib/Wrapper.ahk" |
||||
|
|
||||
; Initialize variables |
; Initialize variables |
||||
FullAutoEnabled := [0,0,0,0,1] |
FullAutoEnabled := [0,0,0,0,1] |
||||
EquipState := 1 |
EquipState := 1 |
||||
|
|
||||
ToggleFullAuto(Index) { |
ToggleFullAuto(Index) { |
||||
global FullAutoEnabled |
global FullAutoEnabled |
||||
FullAutoEnabled[Index] := !FullAutoEnabled[Index] |
FullAutoEnabled[Index] := !FullAutoEnabled[Index] |
||||
EnabledDisabled := (FullAutoEnabled[Index] ? "enabled" : "disabled") |
EnabledDisabled := (FullAutoEnabled[Index] ? "enabled" : "disabled") |
||||
if (Index == 5) { |
if (Index == 5) { |
||||
ToolTip "Distruptive macros " EnabledDisabled, A_ScreenWidth // 2, A_ScreenHeight // 2 |
ToolTip "Distruptive macros " EnabledDisabled, A_ScreenWidth // 2, A_ScreenHeight // 2 |
||||
} else { |
} else { |
||||
ToolTip "Full Auto " EnabledDisabled " for " Index, A_ScreenWidth // 2, A_ScreenHeight // 2 |
ToolTip "Full Auto " EnabledDisabled " for " Index, A_ScreenWidth // 2, A_ScreenHeight // 2 |
||||
} |
} |
||||
SetTimer RemoveTooltip, -1000 |
SetTimer RemoveTooltip, -1000 |
||||
} |
} |
||||
|
|
||||
RemoveTooltip() { |
RemoveTooltip() { |
||||
ToolTip |
ToolTip |
||||
} |
} |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; |
; |
||||
; Full Auto |
; Full Auto |
||||
; |
; |
||||
|
|
||||
; Keep track of what is equipped |
; Keep track of what is equipped |
||||
~*1:: global EquipState:=1 |
~*1:: global EquipState:=1 |
||||
~*2:: global EquipState:=2 |
~*2:: global EquipState:=2 |
||||
~*3:: global EquipState:=3 |
~*3:: global EquipState:=3 |
||||
~*4:: global EquipState:=4 |
~*4:: global EquipState:=4 |
||||
|
|
||||
; FN toggles full auto for weapon N |
; FN toggles full auto for weapon N |
||||
*F1::ToggleFullAuto(1) |
*F1::ToggleFullAuto(1) |
||||
*F2::ToggleFullAuto(2) |
*F2::ToggleFullAuto(2) |
||||
*F3::ToggleFullAuto(3) |
*F3::ToggleFullAuto(3) |
||||
*F4::ToggleFullAuto(4) |
*F4::ToggleFullAuto(4) |
||||
*F5::ToggleFullAuto(5) |
*F5::ToggleFullAuto(5) |
||||
|
|
||||
; Do full auto when caps lock is on for enabled weapons |
; Do full auto when caps lock is on for enabled weapons |
||||
#HotIf (GetKeyState("CapsLock","T") and FullAutoEnabled[EquipState]) |
#HotIf (GetKeyState("CapsLock","T") and FullAutoEnabled[EquipState]) |
||||
*LButton::Repeat("LButton",,"LButton") |
*LButton::Repeat("LButton",,"LButton") |
||||
|
|
||||
; |
; |
||||
; Distruptive macros |
; Distruptive macros |
||||
; |
; |
||||
#HotIf FullAutoEnabled[5] |
#HotIf FullAutoEnabled[5] |
||||
|
|
||||
; Hold space rapidly jumps |
; Hold space rapidly jumps |
||||
*Space::Turbo("Space") |
*Space::Turbo("Space") |
||||
|
|
||||
; Hold f to rapidly deposit |
; Hold f to rapidly deposit |
||||
*f::{ |
*f::{ |
||||
While GetKeyState("f","P") { |
While GetKeyState("f","P") { |
||||
Send "{Blind}{e down}" |
Send "{Blind}{e down}" |
||||
Sleep 20 |
Sleep 20 |
||||
Send "{Blind}{LCtrl down}" |
Send "{Blind}{LCtrl down}" |
||||
Sleep 20 |
Sleep 20 |
||||
Send "{Blind}{LCtrl up}{e up}" |
Send "{Blind}{LCtrl up}{e up}" |
||||
Sleep 20 |
Sleep 20 |
||||
} |
} |
||||
} |
} |
||||
|
|
||||
|
|
||||
; |
; |
||||
; Non-disruptive macros |
; Non-disruptive macros |
||||
; |
; |
||||
#HotIf |
#HotIf |
||||
|
|
||||
; Alt + E holds E |
; Alt + E holds E |
||||
*!e UP::Hold("e",["w","a","s","d","Space","LButton","RButton"]) |
*!e UP::Hold("e",["w","a","s","d","Space","LButton","RButton"]) |
||||
|
|
||||
; Press shift to sprint, only toggles on |
; Press shift to sprint, only toggles on |
||||
*LShift::{ |
*LShift::{ |
||||
Send "{Blind}{LShift up}{LShift down}" |
Send "{Blind}{LShift up}{LShift down}" |
||||
KeyWait("LShift") |
KeyWait("LShift") |
||||
} |
} |
||||
*LShift UP::Hold("LShift",,"w") |
*LShift UP::Hold("LShift",,"w") |
||||
|
|
||||
; Grenade animation canceling |
; Grenade animation canceling |
||||
*MButton::Send "{Blind}{LCtrl down}{MButton down}" |
*MButton::Send "{Blind}{LCtrl down}{MButton down}" |
||||
*MButton UP::Send "{Blind}{LCtrl up}{MButton up}" |
*MButton UP::Send "{Blind}{LCtrl up}{MButton up}" |
@ -1,72 +1,72 @@ |
|||||
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
||||
; https://www.autohotkey.com |
; https://www.autohotkey.com |
||||
|
|
||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
#Include ../lib/HoldRepeat.ahk |
#Include ../lib/HoldRepeat.ahk |
||||
|
|
||||
; Make this a wrapper script |
; Make this a wrapper script |
||||
WrapperPath:="shell:AppsFolder\Microsoft.MinecraftUWP_8wekyb3d8bbwe!App" |
WrapperPath:="shell:AppsFolder\Microsoft.MinecraftUWP_8wekyb3d8bbwe!App" |
||||
WrapperWindow:="Minecraft" |
WrapperWindow:="Minecraft" |
||||
#Include ../lib/Wrapper.ahk |
#Include ../lib/Wrapper.ahk |
||||
|
|
||||
; Send an F4 to activate fullscreen |
; Send an F4 to activate fullscreen |
||||
Sleep 1000 |
Sleep 1000 |
||||
Send {F4 down} |
Send {F4 down} |
||||
Sleep 100 |
Sleep 100 |
||||
Send {F4 up} |
Send {F4 up} |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; Remap LAlt so it doesn't active Minecraft's Alt+Space menu shortcut |
; Remap LAlt so it doesn't active Minecraft's Alt+Space menu shortcut |
||||
#InputLevel 1 |
#InputLevel 1 |
||||
*LAlt::vkFF |
*LAlt::vkFF |
||||
#InputLevel 0 |
#InputLevel 0 |
||||
vkFF & Tab:: |
vkFF & Tab:: |
||||
Send {Alt down} |
Send {Alt down} |
||||
Send {Blind}{Tab} |
Send {Blind}{Tab} |
||||
SetTimer, AltUp, -1 |
SetTimer, AltUp, -1 |
||||
return |
return |
||||
AltUp: |
AltUp: |
||||
KeyWait LAlt |
KeyWait LAlt |
||||
Send {Alt up} |
Send {Alt up} |
||||
return |
return |
||||
|
|
||||
; Hold/Autoclick mouse buttons |
; Hold/Autoclick mouse buttons |
||||
; Holds if single click, autoclicks if double click |
; Holds if single click, autoclicks if double click |
||||
vkFF & LButton UP::HoldOrRepeat("LButton",["RButton","MButton"]) |
vkFF & LButton UP::HoldOrRepeat("LButton",["RButton","MButton"]) |
||||
vkFF & RButton UP::HoldOrRepeat("RButton",["LButton","MButton"]) |
vkFF & RButton UP::HoldOrRepeat("RButton",["LButton","MButton"]) |
||||
|
|
||||
; Autorun |
; Autorun |
||||
vkFF & w UP::Hold("w",["s"]) |
vkFF & w UP::Hold("w",["s"]) |
||||
vkFF & s UP::Hold("s",["w"]) |
vkFF & s UP::Hold("s",["w"]) |
||||
vkFF & a UP::Hold("a",["d","w","s"]) |
vkFF & a UP::Hold("a",["d","w","s"]) |
||||
vkFF & d UP::Hold("d",["a","w","s"]) |
vkFF & d UP::Hold("d",["a","w","s"]) |
||||
|
|
||||
; Hold crouch |
; Hold crouch |
||||
vkFF & Shift UP::Hold("Shift",["Ctrl"]) |
vkFF & Shift UP::Hold("Shift",["Ctrl"]) |
||||
|
|
||||
; Autojump/auto-ascend |
; Autojump/auto-ascend |
||||
vkFF & Space UP::Hold("Space",["Shift"]) |
vkFF & Space UP::Hold("Space",["Shift"]) |
||||
|
|
||||
; Mouse button 4: auto-takeoff |
; Mouse button 4: auto-takeoff |
||||
; Macro assumes you have your fireworks in the first hotbar slot |
; Macro assumes you have your fireworks in the first hotbar slot |
||||
XButton1:: |
XButton1:: |
||||
Loop, 5 { |
Loop, 5 { |
||||
Send {Space down} |
Send {Space down} |
||||
Sleep 10 |
Sleep 10 |
||||
} |
} |
||||
Send {Space up}1 |
Send {Space up}1 |
||||
Sleep 225 |
Sleep 225 |
||||
Loop, 5 { |
Loop, 5 { |
||||
Send {Space down} |
Send {Space down} |
||||
Sleep 10 |
Sleep 10 |
||||
} |
} |
||||
Send {Space up}{RButton} |
Send {Space up}{RButton} |
||||
return |
return |
@ -1,13 +1,13 @@ |
|||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
*RButton::TurboOn("LButton","RButton") |
*RButton::TurboOn("LButton","RButton") |
||||
*RButton UP::TurboOff("LButton","RButton") |
*RButton UP::TurboOff("LButton","RButton") |
@ -1,93 +1,93 @@ |
|||||
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
||||
; https://www.autohotkey.com |
; https://www.autohotkey.com |
||||
|
|
||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include general library |
; Include general library |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
#Include ../lib/Stopwatch.ahk |
#Include ../lib/Stopwatch.ahk |
||||
|
|
||||
; Include ViGEm library |
; Include ViGEm library |
||||
#Include ../thirdparty/AHK-ViGEm-Bus/AHK-ViGEm-Bus.ahk |
#Include ../thirdparty/AHK-ViGEm-Bus/AHK-ViGEm-Bus.ahk |
||||
; Create a new Xbox 360 controller |
; Create a new Xbox 360 controller |
||||
MyXbox := new ViGEmXb360() |
MyXbox := new ViGEmXb360() |
||||
|
|
||||
; Make this a wrapper script |
; Make this a wrapper script |
||||
WrapperPath:="steam://rungameid/753640" |
WrapperPath:="steam://rungameid/753640" |
||||
WrapperWindow:="Outer Wilds" |
WrapperWindow:="Outer Wilds" |
||||
#Include ../lib/Wrapper.ahk |
#Include ../lib/Wrapper.ahk |
||||
|
|
||||
; Set percent to deflect by for fine controls |
; Set percent to deflect by for fine controls |
||||
Defl := 40 |
Defl := 40 |
||||
|
|
||||
; Create Gui for timer |
; Create Gui for timer |
||||
Gui, +AlwaysOnTop -Caption +ToolWindow |
Gui, +AlwaysOnTop -Caption +ToolWindow |
||||
Gui, Margin, 0, 0 |
Gui, Margin, 0, 0 |
||||
Gui, Font, s20 CWhite |
Gui, Font, s20 CWhite |
||||
Gui, Color, Black |
Gui, Color, Black |
||||
Gui, Add, Text, vStopwatchText +Center, 00:00 |
Gui, Add, Text, vStopwatchText +Center, 00:00 |
||||
Gui, Show, NoActivate x0 y0, StopwatchGui |
Gui, Show, NoActivate x0 y0, StopwatchGui |
||||
WinSet, TransColor, Black 100, StopwatchGui |
WinSet, TransColor, Black 100, StopwatchGui |
||||
StopwatchHide() |
StopwatchHide() |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; |
; |
||||
; Stopwatch |
; Stopwatch |
||||
; |
; |
||||
|
|
||||
; Alt+F1: Show/Hide stopwatch |
; Alt+F1: Show/Hide stopwatch |
||||
!F1::StopwatchToggleHidden() |
!F1::StopwatchToggleHidden() |
||||
|
|
||||
#If not StopwatchHidden |
#If not StopwatchHidden |
||||
|
|
||||
; F1: Reset stopwatch |
; F1: Reset stopwatch |
||||
F1::StopwatchReset() |
F1::StopwatchReset() |
||||
|
|
||||
; F2: Start/stop stopwatch |
; F2: Start/stop stopwatch |
||||
F2::StopwatchToggle() |
F2::StopwatchToggle() |
||||
|
|
||||
; F3: Rewind stopwatch 5 sec |
; F3: Rewind stopwatch 5 sec |
||||
F3::StopwatchRewind(5) |
F3::StopwatchRewind(5) |
||||
|
|
||||
; F4: Fastforward stopwatch 5 sec |
; F4: Fastforward stopwatch 5 sec |
||||
F4::StopwatchFastforward(5) |
F4::StopwatchFastforward(5) |
||||
|
|
||||
; |
; |
||||
; Fine Controls |
; Fine Controls |
||||
; |
; |
||||
|
|
||||
#If 1 |
#If 1 |
||||
|
|
||||
; Reset all axes when capslock is pressed |
; Reset all axes when capslock is pressed |
||||
~CapsLock:: |
~CapsLock:: |
||||
MyXbox.Axes.LY.SetState(50) |
MyXbox.Axes.LY.SetState(50) |
||||
MyXbox.Axes.LX.SetState(50) |
MyXbox.Axes.LX.SetState(50) |
||||
MyXbox.Axes.RT.SetState(0) |
MyXbox.Axes.RT.SetState(0) |
||||
MyXbox.Axes.LT.SetState(0) |
MyXbox.Axes.LT.SetState(0) |
||||
return |
return |
||||
|
|
||||
; Fine control is active when caps lock is on |
; Fine control is active when caps lock is on |
||||
#If GetKeyState("CapsLock","T") |
#If GetKeyState("CapsLock","T") |
||||
|
|
||||
W::MyXbox.Axes.LY.SetState(50+Defl*.5) |
W::MyXbox.Axes.LY.SetState(50+Defl*.5) |
||||
W UP::MyXbox.Axes.LY.SetState(50) |
W UP::MyXbox.Axes.LY.SetState(50) |
||||
|
|
||||
S::MyXbox.Axes.LY.SetState(50-Defl*.5) |
S::MyXbox.Axes.LY.SetState(50-Defl*.5) |
||||
S UP::MyXbox.Axes.LY.SetState(50) |
S UP::MyXbox.Axes.LY.SetState(50) |
||||
|
|
||||
D::MyXbox.Axes.LX.SetState(50+Defl*.5) |
D::MyXbox.Axes.LX.SetState(50+Defl*.5) |
||||
D UP::MyXbox.Axes.LX.SetState(50) |
D UP::MyXbox.Axes.LX.SetState(50) |
||||
|
|
||||
A::MyXbox.Axes.LX.SetState(50-Defl*.5) |
A::MyXbox.Axes.LX.SetState(50-Defl*.5) |
||||
A UP::MyXbox.Axes.LX.SetState(50) |
A UP::MyXbox.Axes.LX.SetState(50) |
||||
|
|
||||
Space::MyXbox.Axes.RT.SetState(Defl*.16) |
Space::MyXbox.Axes.RT.SetState(Defl*.16) |
||||
Space UP::MyXbox.Axes.RT.SetState(0) |
Space UP::MyXbox.Axes.RT.SetState(0) |
||||
|
|
||||
Shift::MyXbox.Axes.LT.SetState(Defl*.16) |
Shift::MyXbox.Axes.LT.SetState(Defl*.16) |
||||
Shift UP::MyXbox.Axes.LT.SetState(0) |
Shift UP::MyXbox.Axes.LT.SetState(0) |
@ -1,29 +1,29 @@ |
|||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
#Include ../lib/HoldRepeat.ahk |
#Include ../lib/HoldRepeat.ahk |
||||
|
|
||||
WrapperPath:="steam://rungameid/264710" |
WrapperPath:="steam://rungameid/264710" |
||||
WrapperWindow:="Subnautica" |
WrapperWindow:="Subnautica" |
||||
#Include ../lib/Wrapper.ahk |
#Include ../lib/Wrapper.ahk |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; Hold/Autoclick mouse buttons |
; Hold/Autoclick mouse buttons |
||||
; Holds if single click, autoclicks if double click |
; Holds if single click, autoclicks if double click |
||||
*!LButton UP::HoldOrRepeat("LButton",[]) |
*!LButton UP::HoldOrRepeat("LButton",[]) |
||||
*!RButton UP::HoldOrRepeat("RButton",[]) |
*!RButton UP::HoldOrRepeat("RButton",[]) |
||||
|
|
||||
; Hold/Repeat spacebar |
; Hold/Repeat spacebar |
||||
*!Space UP::HoldOrRepeat("Space",["LShift"]) |
*!Space UP::HoldOrRepeat("Space",["LShift"]) |
||||
|
|
||||
; Autorun |
; Autorun |
||||
*!w UP::Hold("w",["s"]) |
*!w UP::Hold("w",["s"]) |
||||
*!s UP::Hold("s",["w"]) |
*!s UP::Hold("s",["w"]) |
||||
*!a UP::Hold("a",["d","w","s"]) |
*!a UP::Hold("a",["d","w","s"]) |
||||
*!d UP::Hold("d",["a","w","s"]) |
*!d UP::Hold("d",["a","w","s"]) |
@ -1,27 +1,27 @@ |
|||||
; |
; |
||||
; Front Matter |
; Front Matter |
||||
; |
; |
||||
|
|
||||
; Include relevant libraries |
; Include relevant libraries |
||||
#Include ../lib/Prelude.ahk |
#Include ../lib/Prelude.ahk |
||||
#Include ../lib/HoldRepeat.ahk |
#Include ../lib/HoldRepeat.ahk |
||||
|
|
||||
; Make this a wrapper script |
; Make this a wrapper script |
||||
WrapperPath := Format("C:\Program Files (x86)\Steam\steam.exe -applaunch 892970 --doorstop-enable true --doorstop-target {1}\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\core\BepInEx.Preloader.dll",A_AppData) |
WrapperPath := Format("C:\Program Files (x86)\Steam\steam.exe -applaunch 892970 --doorstop-enable true --doorstop-target {1}\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\core\BepInEx.Preloader.dll",A_AppData) |
||||
WrapperWindow:="Valheim" |
WrapperWindow:="Valheim" |
||||
#Include ../lib/Wrapper.ahk |
#Include ../lib/Wrapper.ahk |
||||
|
|
||||
; |
; |
||||
; Hotkeys |
; Hotkeys |
||||
; |
; |
||||
|
|
||||
; Hold E |
; Hold E |
||||
*#e UP::Hold("e",["LButton", "RButton","q","r"],,false) |
*#e UP::Hold("e",["LButton", "RButton","q","r"],,false) |
||||
|
|
||||
; Autorun |
; Autorun |
||||
*#w UP::Hold("w",["s"],,false) |
*#w UP::Hold("w",["s"],,false) |
||||
*#Shift UP::Hold("Shift",["Ctrl"],["w"],false) |
*#Shift UP::Hold("Shift",["Ctrl"],["w"],false) |
||||
|
|
||||
; Autoclick |
; Autoclick |
||||
*#LButton UP::HoldOrRepeat("LButton",["RButton","MButton"],false) |
*#LButton UP::HoldOrRepeat("LButton",["RButton","MButton"],false) |
||||
*#RButton UP::HoldOrRepeat("RButton",["LButton","MButton"],false) |
*#RButton UP::HoldOrRepeat("RButton",["LButton","MButton"],false) |
Loading…
Reference in new issue