#include "globals.hpp" #include #include class CDynamicCursors; class CDynamicCursors { public: /* hook on renderSoftwareCursorsFor */ void renderSoftware(CPointerManager* pointers, SP pMonitor, timespec* now, CRegion& damage, std::optional overridePos); /* hook on damageIfSoftware*/ void damageSoftware(CPointerManager* pointers); private: // calculates the current angle of the cursor double calculate(Vector2D* pos); // this is the end of the virtual stick Vector2D end; }; inline std::unique_ptr g_pDynamicCursors;