Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
platf::touch_input_t Struct Reference

Absolute touchscreen event data from the client. More...

#include <src/platform/common.h>

Public Attributes

float contactAreaMajor
 Major axis of the reported contact area.
float contactAreaMinor
 Minor axis of the reported contact area.
std::uint8_t eventType
 Moonlight event type for the input packet.
std::uint32_t pointerId
 Client-provided pointer identifier for a touch contact.
float pressureOrDistance
 Distance for hover and pressure for contact.
std::uint16_t rotation
 Degrees (0..360) or LI_ROT_UNKNOWN.
float x
 Horizontal coordinate or vector component.
float y
 Vertical coordinate or vector component.

Detailed Description

Absolute touchscreen event data from the client.


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