mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Add initial simulator plugin support for FS2020
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
This commit is contained in:
committed by
Mat Sutcliffe
parent
aa32544b53
commit
3baab2ae4d
@@ -2917,6 +2917,11 @@ namespace BlackSimPlugin
|
||||
// FSX drivers only works with FSX
|
||||
return connectedSimName.contains("fsx") || connectedSimName.contains("microsoft") || connectedSimName.contains("simulator x");
|
||||
}
|
||||
else if (pluginSim.isFS2020())
|
||||
{
|
||||
// FS2020 drivers only works with FS2020
|
||||
return connectedSimName.contains("kittyhawk");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user