Skip to content

Commit fa49497

Browse files
Update field name from _type to type_
1 parent 51371d4 commit fa49497

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

units/sdlhaptic.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ type
571571
type
572572
TSDL_HapticCondition = record
573573
{* Header *}
574-
_type: cuint16; {**< SDL_HAPTIC_SPRING, SDL_HAPTIC_DAMPER,
574+
type_: cuint16; {**< SDL_HAPTIC_SPRING, SDL_HAPTIC_DAMPER,
575575
SDL_HAPTIC_INERTIA or SDL_HAPTIC_FRICTION *}
576-
direction: TSDL_HapticDirection; {**< Direction of the effect - Not used ATM. *}
576+
direction: TSDL_HapticDirection; {**< Direction of the effect - Not used ATM. *}
577577

578578
{* Replay *}
579579
length: cuint32; {**< Duration of the effect. *}
@@ -586,10 +586,10 @@ type
586586
{* Condition *}
587587
right_sat: array[0..2] of cuint16; {**< Level when joystick is to the positive side. *}
588588
left_sat: array[0..2] of cuint16; {**< Level when joystick is to the negative side. *}
589-
right_coeff: array[0..2] of cint16; {**< How fast to increase the force towards the positive side. *}
590-
left_coeff: array[0..2] of cint16; {**< How fast to increase the force towards the negative side. *}
591-
deadband: array[0..2] of cuint16; {**< Size of the dead zone. *}
592-
center: array[0..2] of cint16; {**< Position of the dead zone. *}
589+
right_coeff: array[0..2] of cint16;{**< How fast to increase the force towards the positive side. *}
590+
left_coeff: array[0..2] of cint16; {**< How fast to increase the force towards the negative side. *}
591+
deadband: array[0..2] of cuint16; {**< Size of the dead zone. *}
592+
center: array[0..2] of cint16; {**< Position of the dead zone. *}
593593
end;
594594

595595
{**

0 commit comments

Comments
 (0)