09-16-2024, 08:00 PM
(This post was last modified: 09-16-2024, 08:04 PM by TerryRitchie.)
(09-16-2024, 07:53 PM)Pete Wrote: Oh just write a custom keyboard input routine you lazy varmint!It looks like you just won the award you were fretting about in another post.
or...
Code: (Select All)Do
Input a
Sleep 1
Loop Until _KeyDown(27)
Now you don't need no stinkin' null value... but ya gotta be quick!
Pete
(09-16-2024, 07:44 PM)Kernelpanic Wrote: Thanks for the answers!In lesson 7 of the tutorial I cover all the different methods of using keyboard input.
DSMan195276, yes, that's right! It would be a good notice in the wiki for KeyDown
Terry, I know that one can end the loop in another way, but this about KeyDown was unknown me.
https://www.qb64tutorial.com/lesson7
And then in lesson 21 I cover the _DEVICES and _BUTTON statements and how they can be used as keyboard inputs as well.
https://www.qb64tutorial.com/lesson21
When you get a chance check them out. Lots of good stuff in there.