Skip to content

Commit 39c2e26

Browse files
Update field names _type/_end to type_/end_
1 parent fa49497 commit 39c2e26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

units/sdlhaptic.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ type
608608
type
609609
TSDL_HapticRamp = record
610610
{* Header *}
611-
_type: cuint16; {**< SDL_HAPTIC_RAMP *}
612-
direction: TSDL_HapticDirection; {**< Direction of the effect. *}
611+
type_: cuint16; {**< SDL_HAPTIC_RAMP *}
612+
direction: TSDL_HapticDirection; {**< Direction of the effect. *}
613613

614614
{* Replay *}
615615
length: cuint32; {**< Duration of the effect. *}
@@ -620,8 +620,8 @@ type
620620
interval: cuint16; {**< How soon it can be triggered again after button. *}
621621

622622
{* Ramp *}
623-
start: cint16; {**< Beginning strength level. *}
624-
_end: cint16; {**< Ending strength level. *}
623+
start: cint16; {**< Beginning strength level. *}
624+
end_: cint16; {**< Ending strength level. *}
625625

626626
{* Envelope *}
627627
attack_length: cuint16; {**< Duration of the attack. *}

0 commit comments

Comments
 (0)