Split off hand-turn hand-drag and hmdrotation

Hand-turn hand-drag and hmdrotationstats counting are split off into separate functions from the event loop.
This commit is contained in:
Kung-vr
2019-02-03 22:42:50 +09:00
parent 5832eea951
commit 6a90f66b2e
3 changed files with 248 additions and 234 deletions
+1
View File
@@ -61,6 +61,7 @@ constexpr int k_utilitiesSettingsUpdateCounter = 19;
// k_nonVsyncTickRate determines number of ms we wait to force the next event
// loop tick when vsync is too late due to dropped frames.
constexpr int k_nonVsyncTickRate = 20;
constexpr int k_hmdRotationCounterUpdateRate = 7;
class OverlayController : public QObject
{