mirror of https://github.com/x360ce/x360ce.git
Browse Source
Prepare to implement alternative force feedback methods for other controllers.
pull/826/head
Prepare to implement alternative force feedback methods for other controllers.
pull/826/head

11 changed files with 1386 additions and 1347 deletions
-
5x360ce.App.Beta/Common/AutoMapHelper.cs
-
6x360ce.App.Beta/Controls/PadControl.cs
-
2592x360ce.App/Controls/PadControl.cs
-
12x360ce.Engine/Common/Enum/EffectType.cs
-
27x360ce.Engine/Common/Enum/ForceEffectType.cs
-
12x360ce.Engine/Common/Enum/ForceFeedBackType.cs
-
31x360ce.Engine/Common/ForceFeedbackState.cs
-
23x360ce.Engine/JocysCom/Files/Zip.cs
-
3x360ce.Engine/x360ce.Engine.csproj
-
11x360ce.sln
-
11x360ce.sln.vsspell
2592
x360ce.App/Controls/PadControl.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,12 +0,0 @@ |
|||
namespace x360ce.App |
|||
{ |
|||
public enum ForceEffectType |
|||
{ |
|||
/// <summary>Old constant force (like in 3.1.4.1)</summary>
|
|||
Constant = 0, |
|||
/// <summary>EJocys method (from rev 150)</summary>
|
|||
PeriodicSine = 1, |
|||
/// <summary>New force</summary>
|
|||
PeriodicSawtooth = 2, |
|||
} |
|||
} |
@ -0,0 +1,27 @@ |
|||
using System; |
|||
|
|||
namespace x360ce.Engine |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// Forces for vibrating motors (Game pads):
|
|||
/// 0 - Constant. Good for vibrating motors.
|
|||
/// Forces for torque motors (Wheels):
|
|||
/// 1 - Periodic 'Sine Wave'. Good for car/plane engine vibration.
|
|||
/// 2 - Periodic 'Sawtooth Down Wave'. Good for gun recoil.
|
|||
/// </summary>
|
|||
[Flags] |
|||
public enum ForceEffectType |
|||
{ |
|||
// Default Implementation (one motor/actuator per effect).
|
|||
Constant = 0, |
|||
PeriodicSine = 1, |
|||
PeriodicSawtooth = 2, |
|||
// Alternative implementations (two motors/actuators per effect).
|
|||
// Used by SpeedLink.
|
|||
_Type2 = 0x10000, |
|||
Constant2 = Constant | _Type2, |
|||
PeriodicSine2 = PeriodicSine | _Type2, |
|||
PeriodicSawtooth2 = PeriodicSawtooth | _Type2, |
|||
} |
|||
} |
@ -1,12 +0,0 @@ |
|||
namespace x360ce.Engine |
|||
{ |
|||
public enum ForceFeedBackType |
|||
{ |
|||
/// <summary>Old constant force (like in 3.1.4.1)</summary>
|
|||
Constant = 0, |
|||
/// <summary>EJocys method (from rev 150)</summary>
|
|||
PeriodicSine = 1, |
|||
/// <summary>New force</summary>
|
|||
PeriodicSawtooth = 2, |
|||
} |
|||
} |
@ -0,0 +1,11 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Visual Studio Spell Checker configuration file - [https://github.com/EWSoftware/VSSpellChecker] |
|||
Do not edit the XML. Use the configuration file editor in Visual Studio to modify the settings. --> |
|||
<SpellCheckerConfiguration Format="2016.3.10.0"> |
|||
<InheritAdditionalDictionaryFolders>True</InheritAdditionalDictionaryFolders> |
|||
<SelectedLanguages /> |
|||
<InheritIgnoredWords>True</InheritIgnoredWords> |
|||
<InheritExclusionExpressions>True</InheritExclusionExpressions> |
|||
<InheritIgnoredFilePatterns>True</InheritIgnoredFilePatterns> |
|||
<InheritXmlSettings>True</InheritXmlSettings> |
|||
</SpellCheckerConfiguration> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue