Loading...
Searching...
No Matches
score::PointerLock Struct Reference

Relative ("locked") mouse motion, when the platform provides it. More...

Detailed Description

Relative ("locked") mouse motion, when the platform provides it.

Public Types

using MotionCallback = void(*)(QPointF)
 
using ReleaseCallback = void(*)()
 

Static Public Member Functions

static bool beginRelative (QWindow *window, MotionCallback onMotion, ReleaseCallback onRelease) noexcept
 
static bool active () noexcept
 
static QPointF takeDelta () noexcept
 
static void endRelative () noexcept
 

The documentation for this struct was generated from the following files: