Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::joypad_state Struct Reference

Public Attributes

std::unique_ptr< lvh::GamepadStateAdapter > adapter
std::uint8_t client_index = 0
 The client's controller number.
int type = 0
 The profile it was made with.
std::array< std::optional< std::uint32_t >, 2 > touch_pointer_ids {}
std::uint8_t next_touch_id = 0
std::mutex mutex

Detailed Description

Definition at line 58 of file virtualhid_common.h.

Member Data Documentation

◆ adapter

std::unique_ptr<lvh::GamepadStateAdapter> platf::joypad_state::adapter

Definition at line 59 of file virtualhid_common.h.

◆ client_index

std::uint8_t platf::joypad_state::client_index = 0

The client's controller number.

Definition at line 60 of file virtualhid_common.h.

◆ mutex

std::mutex platf::joypad_state::mutex

Definition at line 64 of file virtualhid_common.h.

◆ next_touch_id

std::uint8_t platf::joypad_state::next_touch_id = 0

Definition at line 63 of file virtualhid_common.h.

◆ touch_pointer_ids

std::array<std::optional<std::uint32_t>, 2> platf::joypad_state::touch_pointer_ids {}

Definition at line 62 of file virtualhid_common.h.

◆ type

int platf::joypad_state::type = 0

The profile it was made with.

Definition at line 61 of file virtualhid_common.h.


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