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

Pen tablet 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::uint8_t penButtons
 Button mask for the active pen tool.
 
float pressureOrDistance
 Distance for hover and pressure for contact.
 
std::uint16_t rotation
 Degrees (0..360) or LI_ROT_UNKNOWN.
 
std::uint8_t tilt
 Degrees (0..90) or LI_TILT_UNKNOWN.
 
std::uint8_t toolType
 Pen tool type reported by the client.
 
float x
 Horizontal coordinate or vector component.
 
float y
 Vertical coordinate or vector component.
 

Detailed Description

Pen tablet event data from the client.


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