libdonut 2.3.6
Application framework for cross-platform game development in C++20
Loading...
Searching...
No Matches
List of all members
donut::events::TouchMovedEvent Struct Reference

Touch was moved. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::TouchMovedEvent:
donut::events::TouchEventBase donut::events::InputEventBase donut::events::EventBase

Additional Inherited Members

- Public Attributes inherited from donut::events::TouchEventBase
std::int64_t touchDeviceId
 Touch device identifier.
 
std::int64_t fingerId
 Finger identifier.
 
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 donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any.
 

Detailed Description

Touch was moved.


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