|
|
@ -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 |
|
|
@ -98,4 +89,18 @@ Space::MyXbox.Axes.RT.SetState(Defl*.16) |
|
|
|
Space UP::MyXbox.Axes.RT.SetState(0) |
|
|
|
|
|
|
|
Shift::MyXbox.Axes.LT.SetState(Defl*.16) |
|
|
|
Shift UP::MyXbox.Axes.LT.SetState(0) |
|
|
|
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 |