TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::GestureEvent from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...

touchgfx::GestureEvent class

@class GestureEvent GestureEvent.hpp touchgfx/events/GestureEvent.hpp A gesture event. A gesture event. The only gesture events currently supported is SWIPE_HORIZONTAL and SWIPE_VERTICAL, which will be issued every time the input system detects a swipe. @see Event

Syntax

class GestureEvent : public Event { public:     typedef enum     {         SWIPE_HORIZONTAL,          SWIPE_VERTICAL         } GestureType;     GestureEvent(GestureType t, int16_t v, int16_t x_coord, int16_t y_coord) :         type(t),         velocity(v),         x(x_coord),         y(y_coord)     {     }     int16_t getVelocity() const     {         return velocity;     }     GestureType getType() const     {         return type;     }     int16_t getX() const     {         return x;     }     int16_t getY() const     {         return y;     }     virtual Event::EventType getEventType()     {         return Event::EVENT_GESTURE;     } private:     GestureEvent() { }     GestureType type;     int16_t velocity;     int16_t x;     int16_t y; };

Fields

type

No summary provided. Read more...

velocity

No summary provided. Read more...

x

No summary provided. Read more...

y

No summary provided. Read more...

Methods

getVelocity() const

@fn int16_t GestureEvent::getVelocity() const Gets the velocity of this gesture event. Gets the velocity of this gesture event. Read more...

getType() const

@fn GestureType GestureEvent::getType() const Gets the type of this gesture event. Gets the type of this gesture event. Read more...

getX() const

@fn int16_t GestureEvent::getX() const Gets the x coordinate of this gesture event. Gets the x coordinate of this gesture event. Read more...

getY() const

@fn int16_t GestureEvent::getY() const Gets the y coordinate of this gesture event. Gets the y coordinate of this gesture event. Read more...

getEventType()

@fn virtual Event::EventType GestureEvent::getEventType() Gets event type. Read more...

Examples

touchgfx::GestureEvent is referenced by 4 libraries and example projects.