diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-06 04:44:48 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-06 04:44:48 +0200 |
commit | 086fc2d81a68fe70c5897fbe6a1db0e1ba6df4cd (patch) | |
tree | 96fd95a49ae6aa6a40597c509d869697a83d732a /tracker-steamvr/steamvr.hpp | |
parent | 812e483c2b15b4e521797af1310fc9d4dccee882 (diff) |
tracker/steamvr: determine device uniqueness harder
Use "type-model-serial" as the discriminator. The API might
present a single device with two types as the same model and
serial or something similarly stupid.
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r-- | tracker-steamvr/steamvr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index a8903959..1f881607 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -39,6 +39,7 @@ struct device_spec vr::TrackedDevicePose_t pose; QString model, serial, type; unsigned k; + QString to_string() const; }; struct device_list final |