Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clearing the mouse and keyboard buffers
#1
Hello All,

Is there an easy way to clear the mouse and keyboard buffers?

Thank you.

 Donald
Reply
#2
(03-09-2024, 07:02 AM)Donald Foster Wrote: Hello All,

Is there an easy way to clear the mouse and keyboard buffers?

Thank you.

 Donald
Use this.

Code: (Select All)
SUB ClearInput
    WHILE _MOUSEINPUT: WEND
    _KEYCLEAR
END SUB
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Polynomial Regression + Mouse Interpolation ' QB64-PE Example ajax12 11 1,157 10-30-2025, 08:23 PM
Last Post: Pete
  What do you guys like to use for mouse mapping? Pete 32 4,301 01-07-2025, 03:35 PM
Last Post: OldMoses
  Issues clearing the _Clipboard dano 6 1,175 09-22-2024, 01:05 PM
Last Post: doppler
  What keyboard do you use for QB64 PE? vividpixel 14 2,681 06-28-2024, 11:02 PM
Last Post: SMcNeill
  3.13.1 bug report - keyboard characters swapped Circlotron 3 967 06-03-2024, 05:16 AM
Last Post: Circlotron

Forum Jump:


Users browsing this thread: 1 Guest(s)