
55
int fdGetFWVersionMajor(fdGlove *pFG)
Obtains the major version of the glove’s firmware.
Return value
Returns the major version of the glove’s firmware as an integer.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
Remarks
This function has currently only been implemented for the Data Glove 14 Ultra.
It will return 0 if the glove type isn’t a Data Glove 14 Ultra variant. Example: if
the firmware version is 3.2 then 3 is returned.
int fdGetFWVersionMinor(fdGlove *pFG)
Obtains the minor version of the glove’s firmware.
Return value
Returns the minor version of the glove’s firmware as an integer.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
Remarks
This function has currently only been implemented for the Data Glove 14 Ultra.
It will return 0 if the glove type isn’t a Data Glove 14 Ultra variant. Example: if
the firmware version is 3.2 then 2 is returned.
bool fdGetAutoCalibrate(fdGlove *pFG)
Indicates if the driver is currently auto calibrating.
Return value
Returns
true
if the driver is currently auto calibrating.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
Remarks
None.
bool fdSetAutoCalibrate(fdGlove *pFG, bool bAutoCalibrate)
Turns auto calibration
on
or
off
.
Return value
Returns
true
if the driver is currently auto calibrating.
Parameters
pFG