aboutsummaryrefslogtreecommitdiffstats
path: root/phidget21.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-10-19 19:38:06 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-10-19 19:38:06 +0100
commit8f3c91e91b634adaca77dac6cf314445cceefc78 (patch)
tree8a779a28ccfbbfae413f6f7df21fb0a8650d3747 /phidget21.h
parentbd7a4f258643bf72d5e97f86f0f2272b381ed1ba (diff)
downloadlibphidget21-8f3c91e91b634adaca77dac6cf314445cceefc78.tar.gz
Imported Upstream version 2.1.8.20120912upstream/2.1.8.20120912
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);