File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -630,6 +630,31 @@ type
630630 fade_level: cuint16; { **< Level at the end of the fade. *}
631631 end ;
632632
633+ { **
634+ * \brief A structure containing a template for a Left/Right effect.
635+ *
636+ * This struct is exclusively for the ::SDL_HAPTIC_LEFTRIGHT effect.
637+ *
638+ * The Left/Right effect is used to explicitly control the large and small
639+ * motors, commonly found in modern game controllers. The small (right) motor
640+ * is high frequency, and the large (left) motor is low frequency.
641+ *
642+ * \sa SDL_HAPTIC_LEFTRIGHT
643+ * \sa SDL_HapticEffect
644+ *}
645+ type
646+ TSDL_HapticLeftRight = record
647+ { * Header *}
648+ type_: cuint16; { **< ::SDL_HAPTIC_LEFTRIGHT *}
649+
650+ { * Replay *}
651+ length: cuint32; { **< Duration of the effect in milliseconds. *}
652+
653+ { * Rumble *}
654+ large_magnitude: cuint16; { **< Control of the large controller motor. *}
655+ small_magnitude: cuint16; { **< Control of the small controller motor. *}
656+ end ;
657+
633658 { **
634659 * A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.
635660 *
You can’t perform that action at this time.
0 commit comments