#include <FWHID_HandMotion.h>
Data Fields | |
unsigned short | word |
struct { | |
unsigned int thumb: 1 | |
(Bit0) Flag indicating whether thumb is touching. | |
unsigned int index: 1 | |
Indicates that index finger is touching. | |
unsigned int middle: 1 | |
Indicates that middle finger is touching. | |
unsigned int ring: 1 | |
Indicates that ring finger is touching. | |
unsigned int pinky: 1 | |
Indicates that pinky finger is touching. | |
unsigned int outerPalm: 1 | |
Indicates that outer palm heel (closest to pinky) is touching. | |
unsigned int innerPalm: 1 | |
Indicates that inner palm heel (closest to thumb) is touching. | |
unsigned int forePalms: 1 | |
Indicates that hand is totally flattened such that central palm & callouses are touching. | |
unsigned int penGrip: 1 | |
unsigned int triPenGrip: 1 | |
unsigned int fist: 1 | |
unsigned int spread: 1 | |
Indicates fingers were spread rather than neutral upon chord touchdown. | |
unsigned int anyFingertipPermutation: 1 | |
If true, the index/middle/ring/pinky bit range holds a fingertip count rather than bit pattern marking exactly which of index/middle/ring/pinky are present. | |
unsigned int bimanualSync: 1 | |
If true indicates both hands started working together (touched with the same chord at same time). | |
unsigned int righthand: 1 | |
If true indicates source of this motion is right hand. | |
unsigned int lefthand: 1 | |
If true indicates source of this motion is left hand. | |
} | flags |
struct { | |
unsigned int fingers: 8 | |
unsigned int grip: 4 | |
unsigned int anyFingertipPermutation: 1 | |
unsigned int hand: 3 | |
} | fields |
For comparing finger combination, special grips and hands separately. | |
struct { | |
unsigned int chord: 13 | |
unsigned int hand: 3 | |
} | compare |
For comparing chord/grip and hands separately. |
FingerWorks products allow chord selection, i.e. update the FWHID_ChordSpecifier, only at initial hand touchdown. Further changes in finger presence after initial touchdown are ignored for chord selection purposes until the whole hand lifts.
|
If true, the index/middle/ring/pinky bit range holds a fingertip count rather than bit pattern marking exactly which of index/middle/ring/pinky are present.
|
|
If true indicates both hands started working together (touched with the same chord at same time).
|
|
|
|
For comparing chord/grip and hands separately.
|
|
For comparing finger combination, special grips and hands separately.
|
|
|
|
If true, the special "fist" or "5 knuckles" hand configuration has been detected. |
|
|
|
Indicates that hand is totally flattened such that central palm & callouses are touching.
|
|
Four-bit field indicating special fingers-curled or knuckle-touching grips. |
|
Three bit field indicating source of hand motion (right or left) and whether hands are synced (started working together) |
|
Indicates that index finger is touching.
|
|
Indicates that inner palm heel (closest to thumb) is touching.
|
|
If true indicates source of this motion is left hand.
|
|
Indicates that middle finger is touching.
|
|
Indicates that outer palm heel (closest to pinky) is touching.
|
|
If true, the special "penGrip" hand configuration (thumb, index fingertip, middle knuckle, ring knuckle and pinky knuckle) has been detected. |
|
Indicates that pinky finger is touching.
|
|
If true indicates source of this motion is right hand.
|
|
Indicates that ring finger is touching.
|
|
Indicates fingers were spread rather than neutral upon chord touchdown.
|
|
(Bit0) Flag indicating whether thumb is touching.
|
|
If true, the special "triPenGrip" hand configuration (thumb, index fingertip, middle fingertip, ring knuckle and pinky knuckle) has been detected. |
|
|