diff options
author | CNLohr <charles@cnlohr.com> | 2018-04-04 02:27:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 02:27:42 -0400 |
commit | ce6322b6b604b12018a2daf427dbd36afc5fbda2 (patch) | |
tree | 5929c2793c33c80e5392982a9baaa8d5ccaca724 /include/libsurvive/survive_types.h | |
parent | 6a45298c9bc34aac59cc2ebb9de2d82c7a42756e (diff) | |
parent | c7d9d271796b20f886e2441de852498ecb25ca82 (diff) | |
download | libsurvive-ce6322b6b604b12018a2daf427dbd36afc5fbda2.tar.gz libsurvive-ce6322b6b604b12018a2daf427dbd36afc5fbda2.tar.bz2 |
Merge pull request #122 from cnlohr/imu
Imu
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r-- | include/libsurvive/survive_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h index edce3e9..367c391 100644 --- a/include/libsurvive/survive_types.h +++ b/include/libsurvive/survive_types.h @@ -50,7 +50,8 @@ 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 (*pose_func)(SurviveObject *so, uint32_t timecode, 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. |