[osg-users] clamp mouse cursor / position

Sebastian Schmidt herrdersuppen at gmail.com
Mon May 23 00:02:31 PDT 2016


Hi,

I'm trying to keep the mouse cursor in a specific area, while dragging a widget.
(f.e. scrollbar, 2d stick).

I cannot use requestWarpPointer, because this will recursively call my mouseDrag event.

Maybe its not a good behaviour at all, but still i wonder if its possible.
... 

Thank you!

Cheers,
Sebastian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67194#67194








More information about the osg-users mailing list