MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FFECreate_Test

Function FFECreate_Test

Descent3/D3ForceFeedback.cpp:524–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522//************************************************************************
523
524void FFECreate_Test(tFFB_Effect *ef) {
525 memset(ef, 0, sizeof(tFFB_Effect));
526
527 ef->Type = kConstant;
528 ef->TypeInfo.Constant.Mag = FF_NOMINALMAX;
529 ef->Duration = 0.1 * FF_SECONDS;
530 ef->Gain = FF_NOMINALMAX;
531 ef->Period = 0;
532 ef->Axis = kBothAxes;
533 ef->Trigger = kNoButton;
534 ef->Direction = 0;
535}
536
537void FFECreate_Microwave(tFFB_Effect *ef) {
538 memset(ef, 0, sizeof(tFFB_Effect));

Callers 1

ForceEffectsInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected