diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-01 07:50:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-06 04:21:40 +0200 |
commit | 90a8561b596c5e6d6c26ca24e1226fa1d7fefb88 (patch) | |
tree | 29be71b17445ce947771f722acaecb66ebedc669 /tracker-steamvr/steamvr.cpp | |
parent | 77b08c1117a849ab5de33b7c06976b0a151c2fd6 (diff) |
tracker/steamvr: add center() override
Diffstat (limited to 'tracker-steamvr/steamvr.cpp')
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp index e40d51a1..2d92c5a4 100644 --- a/tracker-steamvr/steamvr.cpp +++ b/tracker-steamvr/steamvr.cpp @@ -147,6 +147,13 @@ void steamvr::data(double* data) } } +bool steamvr::center() +{ + if (vr) + vr->ResetSeatedZeroPose(); + return false; +} + void steamvr_dialog::register_tracker(ITracker*) {} void steamvr_dialog::unregister_tracker() {} |