I'm trying to have my script detect either a few keyboard keys or any joystick key to trigger the continuation of said script. The script is rather large, but here's a snippet of the problem:
Code: Select all
if (LineByLineDialog = 1) {
for index, sentence in StrSplit(Clipboard, "`n`n") {
GuiControl, 2:Text, Clip, %sentence%
Input, UserInput, L1 V, {Joy1}{Joy2}{Joy3}{Joy4}{Joy5}{Joy6}{Joy7}{Joy8}{Joy9}{Joy10}{Joy11}{Joy12}{Joy13}{Joy14}{Joy15}{Joy16}{Enter}{Esc}{Up}{Down}{Left}{Right}
}
}
else {
GuiControl, 2:Text, Clip, %Clipboard%
}
Any idea why none of the Joystick options work?