@@ -1451,57 +1451,111 @@ public string RacingWheelLFEStrengthString
14511451
14521452 #endregion
14531453
1454- #region Racing wheel - Crash protection g-force
1454+ #region Racing wheel - Crash protection longitudal g-force
14551455
1456- private float _racingWheelCrashProtectionGForce = 8f ;
1456+ private float _racingWheelCrashProtectionLongitudalGForce = 8f ;
14571457
1458- public float RacingWheelCrashProtectionGForce
1458+ public float RacingWheelCrashProtectionLongitudalGForce
14591459 {
1460- get => _racingWheelCrashProtectionGForce ;
1460+ get => _racingWheelCrashProtectionLongitudalGForce ;
14611461
14621462 set
14631463 {
14641464 value = Math . Clamp ( value , 2f , 20f ) ;
14651465
1466- if ( value != _racingWheelCrashProtectionGForce )
1466+ if ( value != _racingWheelCrashProtectionLongitudalGForce )
14671467 {
1468- _racingWheelCrashProtectionGForce = value ;
1468+ _racingWheelCrashProtectionLongitudalGForce = value ;
14691469
14701470 OnPropertyChanged ( ) ;
14711471 }
14721472
1473- if ( _racingWheelCrashProtectionGForce == 20f )
1473+ if ( _racingWheelCrashProtectionLongitudalGForce == 20f )
14741474 {
1475- RacingWheelCrashProtectionGForceString = DataContext . Instance . Localization [ "OFF" ] ;
1475+ RacingWheelCrashProtectionLongitudalGForceString = DataContext . Instance . Localization [ "OFF" ] ;
14761476 }
14771477 else
14781478 {
1479- RacingWheelCrashProtectionGForceString = $ "{ _racingWheelCrashProtectionGForce : F1} { DataContext . Instance . Localization [ "GForceUnits" ] } ";
1479+ RacingWheelCrashProtectionLongitudalGForceString = $ "{ _racingWheelCrashProtectionLongitudalGForce : F1} { DataContext . Instance . Localization [ "GForceUnits" ] } ";
14801480 }
14811481 }
14821482 }
14831483
1484- private string _racingWheelCrashProtectionGForceString = string . Empty ;
1484+ private string _racingWheelCrashProtectionLongitudalGForceString = string . Empty ;
14851485
14861486 [ XmlIgnore ]
1487- public string RacingWheelCrashProtectionGForceString
1487+ public string RacingWheelCrashProtectionLongitudalGForceString
14881488 {
1489- get => _racingWheelCrashProtectionGForceString ;
1489+ get => _racingWheelCrashProtectionLongitudalGForceString ;
14901490
14911491 set
14921492 {
1493- if ( value != _racingWheelCrashProtectionGForceString )
1493+ if ( value != _racingWheelCrashProtectionLongitudalGForceString )
14941494 {
1495- _racingWheelCrashProtectionGForceString = value ;
1495+ _racingWheelCrashProtectionLongitudalGForceString = value ;
14961496
14971497 OnPropertyChanged ( ) ;
14981498 }
14991499 }
15001500 }
15011501
1502- public ContextSwitches RacingWheelCrashProtectionGForceContextSwitches { get ; set ; } = new ( false , false , false , false , false ) ;
1503- public ButtonMappings RacingWheelCrashProtectionGForcePlusButtonMappings { get ; set ; } = new ( ) ;
1504- public ButtonMappings RacingWheelCrashProtectionGForceMinusButtonMappings { get ; set ; } = new ( ) ;
1502+ public ContextSwitches RacingWheelCrashProtectionLongitudalGForceContextSwitches { get ; set ; } = new ( false , false , false , false , false ) ;
1503+ public ButtonMappings RacingWheelCrashProtectionLongitudalGForcePlusButtonMappings { get ; set ; } = new ( ) ;
1504+ public ButtonMappings RacingWheelCrashProtectionLongitudalGForceMinusButtonMappings { get ; set ; } = new ( ) ;
1505+
1506+ #endregion
1507+
1508+ #region Racing wheel - Crash protection lateral g-force
1509+
1510+ private float _racingWheelCrashProtectionLateralGForce = 6f ;
1511+
1512+ public float RacingWheelCrashProtectionLateralGForce
1513+ {
1514+ get => _racingWheelCrashProtectionLateralGForce ;
1515+
1516+ set
1517+ {
1518+ value = Math . Clamp ( value , 2f , 20f ) ;
1519+
1520+ if ( value != _racingWheelCrashProtectionLateralGForce )
1521+ {
1522+ _racingWheelCrashProtectionLateralGForce = value ;
1523+
1524+ OnPropertyChanged ( ) ;
1525+ }
1526+
1527+ if ( _racingWheelCrashProtectionLateralGForce == 20f )
1528+ {
1529+ RacingWheelCrashProtectionLateralGForceString = DataContext . Instance . Localization [ "OFF" ] ;
1530+ }
1531+ else
1532+ {
1533+ RacingWheelCrashProtectionLateralGForceString = $ "{ _racingWheelCrashProtectionLateralGForce : F1} { DataContext . Instance . Localization [ "GForceUnits" ] } ";
1534+ }
1535+ }
1536+ }
1537+
1538+ private string _racingWheelCrashProtectionLateralGForceString = string . Empty ;
1539+
1540+ [ XmlIgnore ]
1541+ public string RacingWheelCrashProtectionLateralGForceString
1542+ {
1543+ get => _racingWheelCrashProtectionLateralGForceString ;
1544+
1545+ set
1546+ {
1547+ if ( value != _racingWheelCrashProtectionLateralGForceString )
1548+ {
1549+ _racingWheelCrashProtectionLateralGForceString = value ;
1550+
1551+ OnPropertyChanged ( ) ;
1552+ }
1553+ }
1554+ }
1555+
1556+ public ContextSwitches RacingWheelCrashProtectionLateralGForceContextSwitches { get ; set ; } = new ( false , false , false , false , false ) ;
1557+ public ButtonMappings RacingWheelCrashProtectionLateralGForcePlusButtonMappings { get ; set ; } = new ( ) ;
1558+ public ButtonMappings RacingWheelCrashProtectionLateralGForceMinusButtonMappings { get ; set ; } = new ( ) ;
15051559
15061560 #endregion
15071561
0 commit comments