libdonut  2.3.2
Application framework for cross-platform game development in C++20
List of all members
donut::events::TouchPressedEvent Struct Reference

Touch was pressed. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::TouchPressedEvent:
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. More...
 
std::int64_t fingerId
 Finger identifier. More...
 
vec2 normalizedFingerPosition
 Current finger position, normalized to the range [0, 1]. More...
 
vec2 relativeNormalizedFingerMotion
 Finger offset relative to the previous position, normalized to the range [-1, 1]. More...
 
float normalizedFingerPressure
 Amount of pressure applied, normalized to the range [0, 1]. More...
 
- Public Attributes inherited from donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any. More...
 

Detailed Description

Touch was pressed.


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