10-03-2022, 11:11 AM
(This post was last modified: 10-03-2022, 05:29 PM by James D Jarvis.)
Inkey$ seem to return the latest keypress in favor of the one you have been holding down for a while. It isn't just an issue with the space key.
see code:
Inkey$ seem to return the latest keypress in favor of the one you have been holding down for a while. It isn't just an issue with the space key.
see code:
hold down a button its 'asc code is reported. keep holding it down and press another key and the new key is reported and it will block reporting on the original key until it is released.
see code:
Inkey$ seem to return the latest keypress in favor of the one you have been holding down for a while. It isn't just an issue with the space key.
see code:
Code: (Select All)
_ControlChr Off
Do
k$ = InKey$
If k$ = Chr$(32) Then Sound 1000, .2
If k$ <> "" Then Print Asc(k$),
Loop
hold down a button its 'asc code is reported. keep holding it down and press another key and the new key is reported and it will block reporting on the original key until it is released.