summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/steamvr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-30 15:35:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:29:50 +0200
commitfb958d5418304995f04e997cc9df1bda14ebbd83 (patch)
tree1d4c6c05eafd806e7f48630f5f6fb7ac988e06c3 /tracker-steamvr/steamvr.hpp
parenta9333a5d93caac8cd4cdcd1e49d632fd1c96a6b4 (diff)
tracker/steamvr: put serial number as userdata
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r--tracker-steamvr/steamvr.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp
index 9db32904..62815a58 100644
--- a/tracker-steamvr/steamvr.hpp
+++ b/tracker-steamvr/steamvr.hpp
@@ -27,10 +27,10 @@ using origin = vr::ETrackingUniverseOrigin;
struct settings : opts
{
- value<QString> device_serial;
+ value<QVariant> device_serial;
settings() :
opts("valve-steamvr"),
- device_serial(b, "serial", "")
+ device_serial(b, "serial", QVariant(QVariant::String))
{}
};