Sunshine master
Self-hosted game stream host for Moonlight.
platf::gamepad_touch_t Struct Reference

Touchpad contact data reported by a controller. More...

#include <src/platform/common.h>

Collaboration diagram for platf::gamepad_touch_t:
[legend]

Public Attributes

std::uint8_t eventType
 Moonlight event type for the input packet.
 
gamepad_id_t id
 Gamepad identifier for the event.
 
std::uint32_t pointerId
 Client-provided pointer identifier for a touch contact.
 
float pressure
 Contact pressure reported by the client.
 
float x
 Horizontal coordinate or vector component.
 
float y
 Vertical coordinate or vector component.
 

Detailed Description

Touchpad contact data reported by a controller.


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