High-resolution MouseEvent catching (or how to access queued MouseEvent)
in
Programming Questions
•
4 months ago
I want to draw smooth lines on screen with the mouse.
if I do it this way
- void draw()
- {
- line(pmouseX, mouseY, mouseX, mouseY);
- }
How to get access to high-resolution mouse movements? (Like those movements which happen between the frames? As far as I understand events are caught in a separate thread (not drawing), so that thread should have very high-precision history of mouse movements somewhere?
thanx in advance,
Dimitry
1