mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 05:51:23 +08:00
Based on the Linux crash, already added some newer SIMS
This commit is contained in:
committed by
Mat Sutcliffe
parent
90017f2e79
commit
15353a1f1d
@@ -59,14 +59,17 @@ namespace BlackCore
|
|||||||
MSCFS3, /*!< MS Combat Flight Simulator 3 */
|
MSCFS3, /*!< MS Combat Flight Simulator 3 */
|
||||||
MSFS2004, /*!< MS Flight Simulator 2004 */
|
MSFS2004, /*!< MS Flight Simulator 2004 */
|
||||||
MSFSX, /*!< MS Flight Simulator X */
|
MSFSX, /*!< MS Flight Simulator X */
|
||||||
|
MSFS2020, /*!< MS Flight Simulator 2020 */
|
||||||
XPLANE8, /*!< X-Plane 8 */
|
XPLANE8, /*!< X-Plane 8 */
|
||||||
XPLANE9, /*!< X-Plane 9 */
|
XPLANE9, /*!< X-Plane 9 */
|
||||||
XPLANE10, /*!< X-Plane 10 */
|
XPLANE10, /*!< X-Plane 10 */
|
||||||
XPLANE11, /*!< X-Plane 11 */
|
XPLANE11, /*!< X-Plane 11 */
|
||||||
|
XPLANE12, /*!< X-Plane 12 */
|
||||||
P3Dv1, /*!< Prepar3D V1 */
|
P3Dv1, /*!< Prepar3D V1 */
|
||||||
P3Dv2, /*!< Prepar3D V2 */
|
P3Dv2, /*!< Prepar3D V2 */
|
||||||
P3Dv3, /*!< Prepar3D V3 */
|
P3Dv3, /*!< Prepar3D V3 */
|
||||||
P3Dv4, /*!< Prepar3D V4 */
|
P3Dv4, /*!< Prepar3D V4 */
|
||||||
|
P3Dv5, /*!< Prepar3D V5 */
|
||||||
FlightGear /*!< Flight Gear */
|
FlightGear /*!< Flight Gear */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,12 @@ namespace BlackCore
|
|||||||
case SimType::P3Dv2: return "30";
|
case SimType::P3Dv2: return "30";
|
||||||
case SimType::P3Dv3: return "30";
|
case SimType::P3Dv3: return "30";
|
||||||
case SimType::P3Dv4: return "30";
|
case SimType::P3Dv4: return "30";
|
||||||
|
|
||||||
|
// future versions
|
||||||
|
case SimType::XPLANE12:
|
||||||
|
case SimType::P3Dv5:
|
||||||
|
case SimType::MSFS2020:
|
||||||
|
return "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_UNREACHABLE();
|
Q_UNREACHABLE();
|
||||||
|
|||||||
Reference in New Issue
Block a user