
56
Pointer to a glove device. This is the value returned by
fdOpen()
.
bAutoCalibrate
Boolean value indicating if auto calibration should be turned
on
(
true
) or
off
(
false
).
Remarks
Turn auto calibration off after calibrating to prevent the calibration values from
being too extreme, thus causing scaled values of poor quality.
bool fdSaveCalibration(fdGlove *pFG, const char *pFileName)
Saves the current calibration values to file.
Return value
Returns
true
if the save operation completed successfully.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
pFileName
A null-terminated string containing the path and filename.
Remarks
Save your calibration values to file to prevent you from having to calibrate the
glove every time you start your application.
bool fdLoadCalibration(fdGlove *pFG, const char *pFileName)
Loads calibration values from file. Current calibration values are discarded.
Return value
Returns
true
if the load operation completed successfully.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
pFileName
A null-terminated string containing the path and filename.
Remarks
None.