The script works great but I dunno why it doesn't accept Xpadder and Controller Companion keys is there anyway to make this work with Xpadder or Controller Companion?
If I press Shift on my keyboard it works fine however if I set shift to one of my x360 button via Xpadder or Controller Companion, it won't work.
The following script is what I use to skip QTE that have to press "A" faster, it works with Xppader, Controler Comp. and with keyboard too, I mean if i map the p button on xpadder or controller comp. and press with the x360 button that I mapped on it works.
Code: Select all
*p::
SetKeyDelay -1
var := true
sleep_var := 1
if(!chat)
{
while(var)
{
Send {Blind}{space DownTemp}{space DownTemp}
Sleep sleep_var
Send {Blind}{space up}{space up}
Sleep sleep_var
}
}
else
{
Send {Blind}{p DownTemp}
}
return
*p up::
var := false
Send {Blind}{p up}
return
So I changed the shift button to k and I tried to make it to look more like the p script, and like with the shift it works only when I press the button via the keyboard it still doesn't works via Xpadder, and Controller Comp. :
Code: Select all
*k::
SetKeyDelay -1
var := true
sleep_var := 1
settimer, one, 100
sleep, 50
settimer, two, 100
KeyWait, k
settimer, one, off
settimer, two, off
return
one:
sendinput, a
return
two:
sendinput, d
return
*k up::
var := false
Send {Blind}{k up}
return
So, is there anyway to make the "k" button work on Xpadder etc just like the "p" button works?
This is how my script is looking right now:
Code: Select all
#UseHook
#MaxHotkeysPerInterval 200 ;example from Help file
*k::
SetKeyDelay -1
var := true
sleep_var := 1
settimer, one, 100
sleep, 50
settimer, two, 100
KeyWait, k
settimer, one, off
settimer, two, off
return
one:
sendinput, a
return
two:
sendinput, d
return
*k up::
var := false
Send {Blind}{k up}
return
*p::
SetKeyDelay -1
var := true
sleep_var := 1
if(!chat)
{
while(var)
{
Send {Blind}{space DownTemp}{space DownTemp}
Sleep sleep_var
Send {Blind}{space up}{space up}
Sleep sleep_var
}
}
else
{
Send {Blind}{p DownTemp}
}
return
*p up::
var := false
Send {Blind}{p up}
return
End::ExitApp
return
btw: sorry for the double post.