Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clearing mouse input
#2
That's not of because of clearing the mouse input, I rather suspect a misplacement of the clearing line, but would need to see your code to confirm.

Make sure the line clearing the mouse input is placed INSIDE your input loop right before you start examining the mouse events.

If you place the line OUTSIDE of your input loop it has no effect, and your input loop would then process the entire mouse input queue, what could explain the delay in your program.

Also there is a good article about using the mouse interface in the old forum https://qb64forum.alephc.xyz/index.php?topic=2377.0
Reply


Messages In This Thread
Clearing mouse input - by PhilOfPerth - 06-01-2025, 01:09 AM
RE: Clearing mouse input - by RhoSigma - 06-01-2025, 10:48 AM
RE: Clearing mouse input - by madscijr - 06-01-2025, 12:08 PM
RE: Clearing mouse input - by bplus - 06-02-2025, 02:26 AM
RE: Clearing mouse input - by PhilOfPerth - 06-02-2025, 10:51 AM



Users browsing this thread: 2 Guest(s)