Sunshine master
Self-hosted game stream host for Moonlight.
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 the DS4 Back button to a touchpad click.
 
bool ds5_inputtino_randomize_mac
 Randomize the inputtino DualSense MAC address.
 
std::string gamepad
 Virtual controller backend selected by configuration.
 
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
 Expose motion controls through the DS4 protocol.
 
bool mouse
 Enable mouse input from clients.
 
bool native_pen_touch
 Enable native pen and touch injection.
 
bool touchpad_as_ds4
 Expose touchpad input through the DS4 protocol.
 

Detailed Description

Input emulation settings loaded from configuration.


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