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

Button and axis state received for a virtual gamepad. More...

#include <src/platform/common.h>

Public Attributes

std::uint32_t buttonFlags
 Moonlight button mask for the current gamepad state.
 
std::int16_t lsX
 Left stick X-axis value.
 
std::int16_t lsY
 Left stick Y-axis value.
 
std::uint8_t lt
 Left trigger value.
 
std::int16_t rsX
 Right stick X-axis value.
 
std::int16_t rsY
 Right stick Y-axis value.
 
std::uint8_t rt
 Right trigger value.
 

Detailed Description

Button and axis state received for a virtual gamepad.


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