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

Input emulation settings loaded from configuration. More...

#include <src/config.h>

Public Attributes

bool always_send_scancodes
 Always send keyboard scancodes when available.
std::chrono::milliseconds back_button_timeout
 Hold duration that turns a controller Back button into a special action.
bool controller
 Enable controller input from clients.
bool ds4_back_as_touchpad_click
 Map Back/Select to touchpad click for PlayStation-style gamepads.
std::string gamepad
 Virtual controller profile selected by configuration.
std::string gamepad_driver
 Virtual gamepad backend policy on Windows and macOS.
bool high_resolution_scrolling
 Enable high-resolution mouse-wheel events.
std::chrono::milliseconds key_repeat_delay
 Delay before repeating a held keyboard key.
std::chrono::duration< double > key_repeat_period
 Interval between repeated keyboard key events.
bool key_rightalt_to_key_win
 Map the client Right Alt key to the Windows key.
std::unordered_map< int, int > keybindings
 Client keycode to platform keycode bindings.
bool keyboard
 Enable keyboard input from clients.
bool motion_as_ds4
 Prefer PlayStation-style emulation for client gamepads with motion controls.
bool mouse
 Enable mouse input from clients.
bool native_pen_touch
 Enable native pen and touch injection.
bool touchpad_as_ds4
 Prefer PlayStation-style emulation for client gamepads with touchpad input.
bool virtualhid_randomize_mac
 Randomize the libvirtualhid virtual controller MAC address.

Detailed Description

Input emulation settings loaded from configuration.


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