Added option to disable rumble from the Apollo side
Added option to disable rumble from the Apollo side
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user