Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; DS3singleKeyKick1.4.ahk
- #NoEnv
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- #SingleInstance Force
- introText:=" THERES ALREADY SOME TEST KEYBINDS YOU CAN TRY : `n - XButton1 (mouse4) `n - MButton (mouse3)`n - Delete`n - Numpad Del`n - Numpad Enter`n - NumpadAdd (didnt work for me) "
- MsgBox, %introText%
- MsgBox, "Kill switch : F12 at any moment"
- MsgBox, "DS3singleKeyKick1.4.ahk, basically makes kicking usable on DS3"
- kick(sleepTime:=20){
- Send {z down}
- Sleep, %sleepTime%
- Send {LButton down}
- Sleep, %sleepTime%
- Send {LButton up}
- Sleep, %sleepTime%
- Send {z up}
- }
- ; Testing ...
- ; 50 not working, just swings
- MButton::
- kick(50)
- return
- ; Swings one, then kicks
- Del::
- kick(33)
- return
- ; OK
- NumpadDel::
- kick(34)
- return
- ; kinda bad
- NumpadEnter::
- kick(40)
- return
- ; Doesn't work at all
- NumpadAdd::
- kick()
- return
- ; THIS ONE WORKS VERY GOOD (it's the first button on the left side of my mouse so very handy)
- XButton1::
- kick(35)
- return
- ; ======================================================== KILLSWITCH
- F12::
- MsgBox "Script interrompu"
- ExitApp
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement