Skip to content

Commit a0a976c

Browse files
Update field name from _type to type_
1 parent bf87550 commit a0a976c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

units/sdlhaptic.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ type
437437
type
438438
TSDL_HapticConstant = record
439439
{* Header *}
440-
_type: cuint16; {**< SDL_HAPTIC_CONSTANT *}
441-
direction: TSDL_HapticDirection; {**< Direction of the effect. *}
440+
type_: cuint16; {**< SDL_HAPTIC_CONSTANT *}
441+
direction: TSDL_HapticDirection; {**< Direction of the effect. *}
442442

443443
{* Replay *}
444444
length: cuint32; {**< Duration of the effect. *}
@@ -449,7 +449,7 @@ type
449449
interval: cuint16; {**< How soon it can be triggered again after button. *}
450450

451451
{* Constant *}
452-
level: cint16; {**< Strength of the constant effect. *}
452+
level: cint16; {**< Strength of the constant effect. *}
453453

454454
{* Envelope *}
455455
attack_length: cuint16; {**< Duration of the attack. *}

0 commit comments

Comments
 (0)