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

Per-client virtual touch and pen state. More...

#include <src/platform/virtualhid_input.h>

Collaboration diagram for platf::virtualhid::client_context_t:

Public Member Functions

 client_context_t (input_context_t &input)
 Create per-client libvirtualhid devices.

Public Attributes

std::set< std::int32_t > active_touches
 Active touchscreen contacts.
input_context_t * global = nullptr
 Shared global input context.
std::unique_ptr< lvh::PenTablet > pen
 Per-client pen tablet.
std::set< lvh::PenButton > pressed_pen_buttons
 Active pen tablet buttons.
std::unique_ptr< lvh::Touchscreen > touch
 Per-client touchscreen.

Detailed Description

Per-client virtual touch and pen state.

Constructor & Destructor Documentation

◆ client_context_t()

platf::virtualhid::client_context_t::client_context_t ( input_context_t & input)
explicit

Create per-client libvirtualhid devices.

Parameters
inputGlobal input context.

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