diff options
author | Charles Lohr <lohr85@gmail.com> | 2016-12-11 00:03:40 -0500 |
---|---|---|
committer | Charles Lohr <lohr85@gmail.com> | 2016-12-11 00:03:40 -0500 |
commit | 44d7e56bf6a419104fee5dd2aedc26e00e543d69 (patch) | |
tree | 91567a4cfced76249981f616cf22781995989c58 /src/survive_internal.h | |
parent | 4d5a42768f142c25c2efa6c6fd54e1f0dc484f70 (diff) | |
download | libsurvive-44d7e56bf6a419104fee5dd2aedc26e00e543d69.tar.gz libsurvive-44d7e56bf6a419104fee5dd2aedc26e00e543d69.tar.bz2 |
* Get config from headset.
* Make pretty display.
* Improve disambiguation.
Diffstat (limited to 'src/survive_internal.h')
-rw-r--r-- | src/survive_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/survive_internal.h b/src/survive_internal.h index 8096b8c..d6168b2 100644 --- a/src/survive_internal.h +++ b/src/survive_internal.h @@ -26,6 +26,8 @@ //XXX TODO This one needs to be rewritten. #define SV_KILL() exit(0) +#define SV_FLOAT double + #define USB_DEV_HMD 0 #define USB_DEV_LIGHTHOUSE 1 #define USB_DEV_WATCHMAN1 2 @@ -72,6 +74,9 @@ struct SurviveObject int8_t charging:1; int8_t ison:1; int sensors; + + int nr_locations; + SV_FLOAT * sensor_locations; }; struct SurviveContext |