Commit 2e9a7275 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

include: Add Windows.Gaming.Input.ForceFeedback.RampForce runtimeclass declaration.

parent 7c99bdfe
...@@ -39,10 +39,12 @@ namespace Windows.Gaming.Input.ForceFeedback { ...@@ -39,10 +39,12 @@ namespace Windows.Gaming.Input.ForceFeedback {
interface IConditionForceEffect; interface IConditionForceEffect;
interface IConditionForceEffectFactory; interface IConditionForceEffectFactory;
interface IConstantForceEffect; interface IConstantForceEffect;
interface IRampForceEffect;
runtimeclass ForceFeedbackMotor; runtimeclass ForceFeedbackMotor;
runtimeclass PeriodicForceEffect; runtimeclass PeriodicForceEffect;
runtimeclass ConditionForceEffect; runtimeclass ConditionForceEffect;
runtimeclass ConstantForceEffect; runtimeclass ConstantForceEffect;
runtimeclass RampForceEffect;
declare { declare {
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Gaming.Input.ForceFeedback.ForceFeedbackLoadEffectResult>; interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Gaming.Input.ForceFeedback.ForceFeedbackLoadEffectResult>;
...@@ -209,6 +211,22 @@ namespace Windows.Gaming.Input.ForceFeedback { ...@@ -209,6 +211,22 @@ namespace Windows.Gaming.Input.ForceFeedback {
[ [
contract(Windows.Foundation.UniversalApiContract, 3.0), contract(Windows.Foundation.UniversalApiContract, 3.0),
exclusiveto(Windows.Gaming.Input.ForceFeedback.RampForceEffect),
uuid(f1f81259-1ca6-4080-b56d-b43f3354d052)
]
interface IRampForceEffect : IInspectable
requires Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect
{
HRESULT SetParameters([in] Windows.Foundation.Numerics.Vector3 start_vector, [in] Windows.Foundation.Numerics.Vector3 end_vector,
[in] Windows.Foundation.TimeSpan duration);
HRESULT SetParametersWithEnvelope([in] Windows.Foundation.Numerics.Vector3 start_vector, [in] Windows.Foundation.Numerics.Vector3 end_vector,
[in] FLOAT attack_gain, [in] FLOAT sustain_gain, [in] FLOAT release_gain, [in] Windows.Foundation.TimeSpan start_delay,
[in] Windows.Foundation.TimeSpan attack_duration, [in] Windows.Foundation.TimeSpan sustain_duration,
[in] Windows.Foundation.TimeSpan release_duration, [in] UINT32 repeat_count);
}
[
contract(Windows.Foundation.UniversalApiContract, 3.0),
marshaling_behavior(agile), marshaling_behavior(agile),
threading(both) threading(both)
] ]
...@@ -252,4 +270,16 @@ namespace Windows.Gaming.Input.ForceFeedback { ...@@ -252,4 +270,16 @@ namespace Windows.Gaming.Input.ForceFeedback {
[default] interface Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect; [default] interface Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect;
interface Windows.Gaming.Input.ForceFeedback.IConstantForceEffect; interface Windows.Gaming.Input.ForceFeedback.IConstantForceEffect;
} }
[
activatable(Windows.Foundation.UniversalApiContract, 3.0),
contract(Windows.Foundation.UniversalApiContract, 3.0),
marshaling_behavior(agile),
threading(both)
]
runtimeclass RampForceEffect
{
[default] interface Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect;
interface Windows.Gaming.Input.ForceFeedback.IRampForceEffect;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment