aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-29 00:17:07 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-29 00:17:07 -0600
commit4856dd8d4121f23750baace5fd8bd81869f5ac81 (patch)
treef5dd9da7e12a867d5b77bf987a3d9c1b7fedd467 /include
parent08cc0afc797d2225cf23fbc785e6a28cc8667285 (diff)
downloadlibsurvive-4856dd8d4121f23750baace5fd8bd81869f5ac81.tar.gz
libsurvive-4856dd8d4121f23750baace5fd8bd81869f5ac81.tar.bz2
Filled out OO struct; most needed functions are there
Diffstat (limited to 'include')
-rw-r--r--include/libsurvive/survive_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h
index 160adda..7a7dbf1 100644
--- a/include/libsurvive/survive_types.h
+++ b/include/libsurvive/survive_types.h
@@ -50,8 +50,7 @@ typedef void (*imu_process_func)( SurviveObject * so, int mask, FLT * accelgyro,
typedef void (*angle_process_func)( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle, uint32_t lh);
typedef void(*button_process_func)(SurviveObject * so, uint8_t eventType, uint8_t buttonId, uint8_t axis1Id, uint16_t axis1Val, uint8_t axis2Id, uint16_t axis2Val);
typedef void (*raw_pose_func)(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose);
-typedef void (*lighthouse_pose_func)(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lighthouse_pose,
- SurvivePose *object_pose);
+typedef void (*lighthouse_pose_func)(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lighthouse_pose, SurvivePose *object_pose);
// For lightcap, etc. Don't change this structure at all. Regular vive is dependent on it being exactly as-is.
// When you write drivers, you can use this to send survive lightcap data.