NvGestureEvent Class Reference

Object packaging up all the data related to an input event by the user. More...

#include <NvGestureEvent.h>

List of all members.

Public Member Functions

 NvGestureEvent ()
 Default constructor, for use as simple struct.
 NvGestureEvent (NvInputEventClass::Enum intype, NvGestureKind::Enum inkind, float inx, float iny)
 General constructor.

Public Attributes

NvGestureUID uid
 A unique ID for this event -- generally an auto-incrementing counter.
NvGestureKind::Enum kind
 The kind of event that occurred.
NvInputEventClass::Enum type
 The input device that generated the event: mouse, finger, stylus, etc.
uint8_t index
 Storing mouse button, gamepad button, or key identifier for event.
float x
 x position at the START of the gesture.
float y
 y position at the START of the gesture.
float dx
 delta x value for the gesture.
float dy
 delta y value for the gesture.


Detailed Description

Object packaging up all the data related to an input event by the user.


Constructor & Destructor Documentation

NvGestureEvent::NvGestureEvent (  )  [inline]

Default constructor, for use as simple struct.

NvGestureEvent::NvGestureEvent ( NvInputEventClass::Enum  intype,
NvGestureKind::Enum  inkind,
float  inx,
float  iny 
) [inline]

General constructor.

Parameters:
intype The input device generating the event
inkind The kind of event
inx The starting x position
inx The starting y position


Member Data Documentation

delta x value for the gesture.

DRAG == delta pos. FLICK == velocity. ZOOM == second finger.

delta y value for the gesture.

DRAG == delta pos. FLICK == velocity. ZOOM == second finger.

Storing mouse button, gamepad button, or key identifier for event.

The kind of event that occurred.

The input device that generated the event: mouse, finger, stylus, etc.

..

NvGestureUID NvGestureEvent::uid

A unique ID for this event -- generally an auto-incrementing counter.

x position at the START of the gesture.

y position at the START of the gesture.


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