Record TSDL_HapticPeriodic
Unit
Declaration
type TSDL_HapticPeriodic = record
Description
Overview
Fields
![]() |
type_: cuint16; |
![]() |
direction: TSDL_HapticDirection; |
![]() |
length: cuint32; |
![]() |
delay: cuint16; |
![]() |
button: cuint16; |
![]() |
interval: cuint16; |
![]() |
period: cuint16; |
![]() |
magnitude: cint16; |
![]() |
offset: cint16; |
![]() |
phase: cuint16; |
![]() |
attack_length: cuint16; |
![]() |
attack_level: cuint16; |
![]() |
fade_length: cuint16; |
![]() |
fade_level: cuint16; |
Description
Fields
![]() |
type_: cuint16; |
Header * |
![]() |
direction: TSDL_HapticDirection; |
< SDL_HAPTIC_SINE, SDL_HAPTIC_SQUARE, SDL_HAPTIC_TRIANGLE, SDL_HAPTIC_SAWTOOTHUP or SDL_HAPTIC_SAWTOOTHDOWN * |
![]() |
length: cuint32; |
Replay * |
![]() |
delay: cuint16; |
< Duration of the effect. * |
![]() |
button: cuint16; |
Trigger * |
![]() |
interval: cuint16; |
< Button that triggers the effect. * |
![]() |
period: cuint16; |
Periodic * |
![]() |
magnitude: cint16; |
< Period of the wave. * |
![]() |
offset: cint16; |
< Peak value. * |
![]() |
phase: cuint16; |
< Mean value of the wave. * |
![]() |
attack_length: cuint16; |
Envelope * |
![]() |
attack_level: cuint16; |
< Duration of the attack. * |
![]() |
fade_length: cuint16; |
< Level at the start of the attack. * |
![]() |
fade_level: cuint16; |
< Duration of the fade. * |
Generated by PasDoc 0.16.0.