GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::events::TouchPressedEvent Struct Reference

Finger touch was pressed. More...

#include <GREM/events/Event.hpp>

Inheritance diagram for grem::events::TouchPressedEvent:

Additional Inherited Members

Public Attributes inherited from grem::events::TouchEventBase
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.

Detailed Description

Finger touch was pressed.


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