aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive_types.h
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2018-03-12 12:29:14 -0400
committerGitHub <noreply@github.com>2018-03-12 12:29:14 -0400
commite456a3ec1b0e1f04d55cdad7d95898f20bd26c89 (patch)
treec651c71625a8dbecc0b8293a1701a648eb836984 /include/libsurvive/survive_types.h
parent7fadeeff29074520224be385ecd6c50271a07220 (diff)
parentee0fd0be34cd6715b704be534b7e97087905571f (diff)
downloadlibsurvive-e456a3ec1b0e1f04d55cdad7d95898f20bd26c89.tar.gz
libsurvive-e456a3ec1b0e1f04d55cdad7d95898f20bd26c89.tar.bz2
Merge pull request #112 from cnlohr/poser_callbacks
Poser callbacks
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r--include/libsurvive/survive_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h
index 4db76b4..ce0baac 100644
--- a/include/libsurvive/survive_types.h
+++ b/include/libsurvive/survive_types.h
@@ -50,6 +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 *pose);
typedef int(*haptic_func)(SurviveObject * so, uint8_t reserved, uint16_t pulseHigh , uint16_t pulseLow, uint16_t repeatCount);