
43
nNumMax
The length of the aPID array. The number of gloves found is also returned in
this parameter.
Remarks
None.
int fdGetGloveHand(fdGlove *pFG)
Obtains the handedness (left or right handed) of the glove.
Return value
Returns either
FD_HAND_LEFT
or
FD_HAND_RIGHT
, as defined by the
enumerated type
EfdGloveHand
.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
Remarks
None.
int fdGetGloveType(fdGlove *pFG)
Obtains the type of the currently connected glove.
Return value
Returns one of
FD_GLOVENONE
,
FD_GLOVE7
,
FD_GLOVE7W
,
FD_GLOVE16
FD_GLOVE16W
,
FD_GLOVE14U
,
FD_GLOVE14UW
, or
FD_GLOVE14U_USB
, as
defined by the enumerated type
EfdGloveTypes
.
Parameters
pFG
Pointer to a glove device. This is the value returned by
fdOpen()
.
Remarks
FD_GLOVE7
and
FD_GLOVE7W
refer to the original 5+2 (tilt angles) sensor glove
(5DT Data Glove 5). The
W
suffix indicates a wireless model.
FD_GLOVE16
and
FD_GLOVE16W
refer to the Data Glove 16.
FD_GLOVE14
,
FD_GLOVE14W
, and
FD_GLOVE14_USB
refer to the Data Glove 14 Ultra. The
USB
suffix refers to the
Universal Serial Bus interface. In order to accommodate all glove types the
fdGetNumSensors()
function currently returns 18 sensors. The additional two
sensors are defined as the original tilt angles that are not present in the 16-
sensor glove. See the description of
fdGetNumSensors()
for more details.
int fdGetNumSensors(fdGlove *pFG)
Obtains the number of available sensors values the driver can make available.
Return value