_NvGestureInputData Struct Reference

The main structure for passing input events into the gesture system. More...

#include <NvGestureDetector.h>

List of all members.

Public Attributes

uint8_t countDown
 Number of fingers/inputs down for this sample: 0, 1, or 2.
int8_t width
 A device-specific 'grading' of the relative size of the 'hit area'.
uint8_t index
 Indicator of non-primary button/hand.
uint8_t flags
 Any alternate state flags, such as chording keys/buttons while dragging.
int32_t x
 Input 1 x position.
int32_t y
 Input 1 y position.
int32_t x2
 Input 2 x position or input 1 z position.
int32_t y2
 Input 2 y position.


Detailed Description

The main structure for passing input events into the gesture system.

This structure encapsulates single or multi touch inputs in one structure, with the current limitation being two simultaneous inputs. Next, adding support for mouse buttons and extra status flags.


Member Data Documentation

Number of fingers/inputs down for this sample: 0, 1, or 2.

Any alternate state flags, such as chording keys/buttons while dragging.

Indicator of non-primary button/hand.

So for mouse, left/right/center is 0/1/2.

A device-specific 'grading' of the relative size of the 'hit area'.


The documentation for this struct was generated from the following file: