Flushkeys also for the mouse?

BlitzMax Forums/BlitzMax Programming/Flushkeys also for the mouse?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

do you mean like this?

Graphics 640,480,0

While Not KeyDown(KEY_ESCAPE)
Cls
If MouseDown(1) Then DrawText("mouse 1 is down",10,10)
If MouseDown(2) Then DrawText("mouse 2 is down",10,24)
Flip
Wend

End