Added option to disable rumble from the Apollo side

Added option to disable rumble from the Apollo side
This commit is contained in:
thesystemcoder168
2025-06-25 16:13:04 -07:00
parent c2bee29b88
commit 54cb7eceba
7 changed files with 23 additions and 0 deletions

View File

@@ -572,6 +572,7 @@ namespace config {
true, // high resolution scrolling
true, // native pen/touch support
false, // enable input only mode
false, // enable_block_rumble_messages_to_controllers
};
sunshine_t sunshine {
@@ -1288,6 +1289,7 @@ namespace config {
bool_f(vars, "envvar_compatibility_mode", sunshine.envvar_compatibility_mode);
bool_f(vars, "notify_pre_releases", sunshine.notify_pre_releases);
bool_f(vars, "legacy_ordering", sunshine.legacy_ordering);
bool_f(vars, "enable_block_rumble_messages_to_controllers", input.enable_block_rumble_messages_to_controllers);
int port = sunshine.port;
int_between_f(vars, "port"s, port, {1024 + nvhttp::PORT_HTTPS, 65535 - rtsp_stream::RTSP_SETUP_PORT});