Allow not capture mouse

This commit is contained in:
xzzpig
2024-11-29 23:00:54 +08:00
parent 589ca19e4f
commit 62ae63d7f6
17 changed files with 327 additions and 22 deletions
@@ -670,6 +670,7 @@ static NSMutableSet* hostList;
// multiController must be set before calling getConnectedGamepadMask
_streamConfig.multiController = streamSettings.multiController;
_streamConfig.gamepadMask = [ControllerSupport getConnectedGamepadMask:_streamConfig];
_streamConfig.mouseMode = streamSettings.mouseMode.intValue;
// Probe for supported channel configurations
int physicalOutputChannels = (int)[AVAudioSession sharedInstance].maximumOutputNumberOfChannels;