aboutsummaryrefslogtreecommitdiffstats
path: root/phidget21.h
diff options
context:
space:
mode:
Diffstat (limited to 'phidget21.h')
-rw-r--r--phidget21.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/phidget21.h b/phidget21.h
index c9f62ea..6793b3f 100644
--- a/phidget21.h
+++ b/phidget21.h
@@ -138,6 +138,7 @@ typedef enum {
PHIDUID_IR,
PHIDUID_LED_64,
PHIDUID_LED_64_ADV,
+ PHIDUID_LED_64_ADV_M3,
PHIDUID_MOTORCONTROL_1MOTOR,
PHIDUID_MOTORCONTROL_HC_2MOTOR,
PHIDUID_MOTORCONTROL_LV_2MOTOR_4INPUT,
@@ -161,6 +162,7 @@ typedef enum {
PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1042,
PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1044,
PHIDUID_STEPPER_BIPOLAR_1MOTOR,
+ PHIDUID_STEPPER_BIPOLAR_1MOTOR_M3,
PHIDUID_STEPPER_UNIPOLAR_4MOTOR,
PHIDUID_TEMPERATURESENSOR_OLD,
PHIDUID_TEMPERATURESENSOR,
@@ -370,6 +372,7 @@ typedef struct _CPhidgetEncoder *CPhidgetEncoderHandle;
int CPhidgetEncoder_getPosition(CPhidgetEncoderHandle phid, int index, int *position);
int CPhidgetEncoder_setPosition(CPhidgetEncoderHandle phid, int index, int position);
int CPhidgetEncoder_set_OnPositionChange_Handler(CPhidgetEncoderHandle phid, int ( *fptr)(CPhidgetEncoderHandle phid, void *userPtr, int index, int time,int positionChange), void *userPtr);
+ int CPhidgetEncoder_set_OnIndexChange_Handler(CPhidgetEncoderHandle phid, int ( *fptr)(CPhidgetEncoderHandle phid, void *userPtr, int index, int indexPosition), void *userPtr);
int CPhidgetEncoder_getIndexPosition(CPhidgetEncoderHandle phid, int index, int *position);
int CPhidgetEncoder_getEnabled(CPhidgetEncoderHandle phid, int index, int *enabledState);
int CPhidgetEncoder_setEnabled(CPhidgetEncoderHandle phid, int index, int enabledState);