mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
Added friction effect to feedback enumeration
This commit is contained in:
parent
c6e1c9a2ad
commit
48e98ff75d
|
@ -23,15 +23,16 @@ class CINIFile;
|
||||||
enum EForceFeedback
|
enum EForceFeedback
|
||||||
{
|
{
|
||||||
FFStop = -1,
|
FFStop = -1,
|
||||||
FFSelfCenter = 0,
|
FFConstantForce = 0,
|
||||||
FFConstantForce = 1,
|
FFSelfCenter = 1,
|
||||||
FFVibrate = 2
|
FFFriction = 2,
|
||||||
|
FFVibrate = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ForceFeedbackCmd
|
struct ForceFeedbackCmd
|
||||||
{
|
{
|
||||||
EForceFeedback id;
|
EForceFeedback id; // Type of effect to apply
|
||||||
int data;
|
float force; // Intensity (and, for FFConstantForce, direction) of effect with 0.0f = off and +/1.0f = maximum
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue