3 #include "../../phidgets-2.1/phidget21.h" 22 CPhidgetEncoderHandle
ifKit =
nullptr;
24 static int CCONV
AttachHandler(CPhidgetHandle IFK,
void* userptr);
25 static int CCONV
DetachHandler(CPhidgetHandle IFK,
void* userptr);
26 static int CCONV
ErrorHandler(CPhidgetHandle IFK,
void* userptr,
int ErrorCode,
const char* unknown);
27 static int CCONV
InputChangeHandler(CPhidgetEncoderHandle IFK,
void* usrptr,
int Index,
int State);
28 static int CCONV
PositionChangeHandler(CPhidgetEncoderHandle IFK,
void* usrptr,
int Index,
int Time,
int RelativePosition);
void Initialize(Logger *logger, EncoderConfig *config, Bus *prmBus)
okay, the portable keyboard numbers don't work like the outside keypad because the outside keypad is ...
static int CCONV ErrorHandler(CPhidgetHandle IFK, void *userptr, int ErrorCode, const char *unknown)
CPhidgetEncoderHandle ifKit
static int CCONV PositionChangeHandler(CPhidgetEncoderHandle IFK, void *usrptr, int Index, int Time, int RelativePosition)
static int CCONV DetachHandler(CPhidgetHandle IFK, void *userptr)
int display_properties(CPhidgetEncoderHandle phid) const
static int CCONV InputChangeHandler(CPhidgetEncoderHandle IFK, void *usrptr, int Index, int State)
static int CCONV AttachHandler(CPhidgetHandle IFK, void *userptr)