Ok, so I don't know where to place this. The Bugs section is closed and moved.
I don't have an app, but I'm working on it. I have a question looking for a solution.
I need to get a key input (inkey$) of a held/pressed key in the same or less time that it takes to press that key twice.
I created a little program to show me how quickly I could get these key presses and it shows that a held key takes 2 or 3 times as long to produce results, as opposed to just pressing the key twice or more times.
I tried introducing 'key speed' and even tried to 'clear key' to speed up the hold time results.
You can cut and paste the following program into a new AOZ application in Visual studio to compare results.
Press 'a' twice.
Enter 'y' to do the second test.
Press and hold 'a'.
Compare hold times printed at top.
key speed 0,0 k$="": N=15 for N=1 to 15 print "Press 1 or 2 keys " hold=0: k$="" : k2$="" : clear key repeat: k$=inkey$ : until k$<>"" // clear key repeat k2$=inkey$ inc hold until k2$<>"" home print "hold count", hold;" " print "Press key 1 = ", k$ print "Press key 2 = ", k2$ wait 60 print "Try again (y/n)? n exits" repeat: k3$=inkey$ if k3$="n" then END Until k3$="y" home next N
Bug reporting is being managed here: https://aozmine.25.re/projects/aoz-studio-beta