|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
#include <GREM/events/Event.hpp>

Public Attributes | |
| uint64_t | touchDeviceID |
| Touch device identifier. | |
| uint64_t | fingerID |
| Finger identifier, or 0xFFFFFFFF if it was emulated by mouse input. | |
| vec2 | normalizedFingerPosition |
| Current finger position, normalized to the range [0, 1]. | |
| vec2 | relativeNormalizedFingerMotion |
| Finger offset relative to the previous position, normalized to the range [-1, 1]. | |
| float | normalizedFingerPressure |
| Amount of pressure applied, normalized to the range [0, 1]. | |
| Public Attributes inherited from grem::events::InputEventBase | |
| uint32_t | windowID |
| Unique identifier of the window that this event belongs to, if any. | |
| Public Attributes inherited from grem::events::EventBase | |
| TimePoint | timestamp |
| Timestamp of the event. | |
Touch Event base.
| uint64_t grem::events::TouchEventBase::touchDeviceID |
Touch device identifier.
| uint64_t grem::events::TouchEventBase::fingerID |
Finger identifier, or 0xFFFFFFFF if it was emulated by mouse input.
| vec2 grem::events::TouchEventBase::normalizedFingerPosition |
Current finger position, normalized to the range [0, 1].
| vec2 grem::events::TouchEventBase::relativeNormalizedFingerMotion |
Finger offset relative to the previous position, normalized to the range [-1, 1].
| float grem::events::TouchEventBase::normalizedFingerPressure |
Amount of pressure applied, normalized to the range [0, 1].