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

Per-client gamepad slot and feedback state. More...

Collaboration diagram for input::gamepad_t:

Public Member Functions

 gamepad_t ()=default
 Initialize an unassigned gamepad slot with no pending button timeout.

Public Attributes

button_state_e back_button_state {button_state_e::NONE}
 Back button state.
thread_pool_util::ThreadPool::task_id_t back_timeout_id {}
 Back timeout ID.
platf::gamepad_state_t gamepad_state {}
 Gamepad state.
int id {-1}
 Global gamepad slot assigned to this client controller, or -1 when unassigned.

Detailed Description

Per-client gamepad slot and feedback state.


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