NvGestureEvent Class Reference
Object packaging up all the data related to an input event by the user. More...
#include <NvGestureEvent.h>
Public Member Functions | |
| 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 | ( | 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
| float NvGestureEvent::dx |
delta x value for the gesture.
DRAG == delta pos. FLICK == velocity. ZOOM == second finger.
| float NvGestureEvent::dy |
delta y value for the gesture.
DRAG == delta pos. FLICK == velocity. ZOOM == second finger.
| uint8_t NvGestureEvent::index |
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.
| float NvGestureEvent::x |
x position at the START of the gesture.
| float NvGestureEvent::y |
y position at the START of the gesture.
The documentation for this class was generated from the following file: