Update key name for rumble forwarding

This commit is contained in:
Yukino Song
2025-07-14 01:32:45 +08:00
parent afd8889901
commit f59080817c
7 changed files with 12 additions and 10 deletions

View File

@@ -571,7 +571,7 @@ namespace config {
true, // high resolution scrolling
true, // native pen/touch support
false, // enable input only mode
true, // enable_rumble_messages_to_controllers
true, // forward_rumble
};
sunshine_t sunshine {
@@ -1287,7 +1287,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_rumble_messages_to_controllers", input.enable_rumble_messages_to_controllers);
bool_f(vars, "forward_rumble", input.forward_rumble);
int port = sunshine.port;
int_between_f(vars, "port"s, port, {1024 + nvhttp::PORT_HTTPS, 65535 - rtsp_stream::RTSP_SETUP_PORT});