From 44d7e56bf6a419104fee5dd2aedc26e00e543d69 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 11 Dec 2016 00:03:40 -0500 Subject: * Get config from headset. * Make pretty display. * Improve disambiguation. --- src/survive_internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/survive_internal.h') 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 -- cgit v1.2.3