![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
Touch event parameters (EventType::TouchBegan, EventType::TouchMoved, EventType::TouchEnded) More...
#include <gf/Event.h>
Public Attributes | |
| int64_t | finger |
| Finger that touched. More... | |
| Vector2i | coords |
| Position of the touch. More... | |
| Vector2i | motion |
| Relative position of the touch. More... | |
| float | pressure |
| The pressure applied (between 0 and 1) More... | |
Touch event parameters (EventType::TouchBegan, EventType::TouchMoved, EventType::TouchEnded)
| Vector2i gf::TouchEvent::coords |
Position of the touch.
| int64_t gf::TouchEvent::finger |
Finger that touched.
| Vector2i gf::TouchEvent::motion |
Relative position of the touch.
| float gf::TouchEvent::pressure |
The pressure applied (between 0 and 1)