Browse Source

minor changes to outer wilds hotkeys

ahk-v1
Mar Alegre 5 years ago
parent
commit
02a8c904b3
  1. 33
      src/Outer_Wilds.ahk

33
src/Outer_Wilds.ahk

@ -57,26 +57,17 @@ return
*!Space UP::Hold("Space",["Shift"])
*!Shift UP::Hold("Shift",["Space"])
; Alt+Scroll changes deflect percent
*!WheelUp::
Defl := Min(Defl + 5,100)
MyGuiTime = 10
SetTimer, UpdateGui, 100
Goto UpdateGui
return
*!WheelDown::
Defl := Max(Defl - 5,0)
MyGuiTime = 10
SetTimer, UpdateGui, 100
Goto UpdateGui
return
; Reset all axes when capslock is pressed
~CapsLock::
MyXbox.Axes.LY.SetState(50)
MyXbox.Axes.LX.SetState(50)
MyXbox.Axes.RT.SetState(0)
MyXbox.Axes.LT.SetState(0)
If GetKeyState("CapsLock","T") {
MyGuiTime = 10
SetTimer, UpdateGui, 100
Goto UpdateGui
}
return
; Fine control is active when caps lock is on
@ -99,3 +90,17 @@ Space UP::MyXbox.Axes.RT.SetState(0)
Shift::MyXbox.Axes.LT.SetState(Defl*.16)
Shift UP::MyXbox.Axes.LT.SetState(0)
; Alt+Scroll changes deflect percent
*!WheelUp::
Defl := Min(Defl + 5,100)
MyGuiTime = 10
SetTimer, UpdateGui, 100
Goto UpdateGui
return
*!WheelDown::
Defl := Max(Defl - 5,0)
MyGuiTime = 10
SetTimer, UpdateGui, 100
Goto UpdateGui
return
Loading…
Cancel
Save