yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::TouchPoint Struct Reference

Individual touch point data. More...

#include <touch_input.h>

Public Attributes

int id = -1
 
ImVec2 position = ImVec2(0, 0)
 
ImVec2 start_position = ImVec2(0, 0)
 
ImVec2 previous_position = ImVec2(0, 0)
 
float pressure = 1.0f
 
double timestamp = 0.0
 
bool active = false
 

Detailed Description

Individual touch point data.

Definition at line 39 of file touch_input.h.

Member Data Documentation

◆ id

int yaze::gui::TouchPoint::id = -1

Definition at line 40 of file touch_input.h.

◆ position

ImVec2 yaze::gui::TouchPoint::position = ImVec2(0, 0)

◆ start_position

ImVec2 yaze::gui::TouchPoint::start_position = ImVec2(0, 0)

Definition at line 42 of file touch_input.h.

Referenced by yaze::gui::TouchInput::UpdateGestureRecognition().

◆ previous_position

ImVec2 yaze::gui::TouchPoint::previous_position = ImVec2(0, 0)

Definition at line 43 of file touch_input.h.

Referenced by yaze::gui::TouchInput::UpdateGestureRecognition().

◆ pressure

float yaze::gui::TouchPoint::pressure = 1.0f

Definition at line 44 of file touch_input.h.

◆ timestamp

double yaze::gui::TouchPoint::timestamp = 0.0

Definition at line 45 of file touch_input.h.

Referenced by yaze::gui::TouchInput::UpdateGestureRecognition().

◆ active

bool yaze::gui::TouchPoint::active = false

Definition at line 46 of file touch_input.h.


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