Skip to content

Commit d10b498

Browse files
Update TSDL_HapticEffect (add leftright case)
1 parent 6a1d546 commit d10b498

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

units/sdlhaptic.inc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,13 +767,14 @@ type
767767
PSDL_HapticEffect = ^TSDL_HapticEffect;
768768
TSDL_HapticEffect = record
769769
{* Common for all force feedback effects *}
770-
_type: cuint16; {**< Effect type. *}
770+
type_: cuint16; {**< Effect type. *}
771771
case cuint16 of
772772
0: (constant: TSDL_HapticConstant;); {**< Constant effect. *}
773773
1: (periodic: TSDL_HapticPeriodic;); {**< Periodic effect. *}
774774
2: (condition: TSDL_HapticCondition;); {**< Condition effect. *}
775775
3: (ramp: TSDL_HapticRamp;); {**< Ramp effect. *}
776-
4: (custom: TSDL_HapticCustom;); {**< Custom effect. *}
776+
4: (leftright: TSDL_HapticLeftRight;); {**< Custom effect. *}
777+
5: (custom: TSDL_HapticCustom;); {**< Custom effect. *}
777778
end;
778779

779780
{* Function prototypes *}

0 commit comments

Comments
 (0)