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

Tracks the side-specific client keys that contribute to one modifier flag. More...

Public Member Functions

bool any_pressed () const
 Return whether any key for this modifier remains pressed.

Public Attributes

bool generic_pressed = false
 Whether the side-less modifier key is pressed.
bool left_pressed = false
 Whether the left modifier key is pressed.
bool right_pressed = false
 Whether the right modifier key is pressed.

Detailed Description

Tracks the side-specific client keys that contribute to one modifier flag.

Member Function Documentation

◆ any_pressed()

bool input::modifier_state_t::any_pressed ( ) const
inlinenodiscard

Return whether any key for this modifier remains pressed.

Returns
true when the generic, left, or right key is pressed.

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