Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: Unable to capture mouse events in Win32::Console

by etj (Deacon)
on Apr 27, 2022 at 16:18 UTC ( [id://11143358]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console

This is some great research!

By any chance, would you have insights into how to block-wait for OpenGL (1, it's for current PDL::Graphics::TriD) events? Currently it constantly polls since it's using GLUT's glutMainLoopEvent. My googling didn't reveal a better way that was somewhat compatible with that. Yes, it should get moved off OpenGL 1, but there are other priorities first such as the imminent OpenCV interface, and loop-fusion.

Replies are listed 'Best First'.
Re^7: Unable to capture mouse events in Win32::Console
by vr (Curate) on Apr 27, 2022 at 18:44 UTC

    Sorry, etj, I have no OpenGL experience but hope your question will attract better answers, with node accessible through (Google|Super) search.

Re^7: Unable to capture mouse events in Win32::Console
by Anonymous Monk on Apr 28, 2022 at 02:15 UTC
    Even loops they all "constantly" poll, a block-wait is just some c-code polling for your program

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143358]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found