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

Function ForceEnable

Descent3/D3ForceFeedback.cpp:276–282  ·  view source on GitHub ↗

------------------------------------------------------------------ ForceEnable Purpose: Enables Force Feedback that has been previously disabled ------------------------------------------------------------------

Source from the content-addressed store, hash-verified

274// Enables Force Feedback that has been previously disabled
275// ------------------------------------------------------------------
276void ForceEnable(void) {
277 if (D3Force_init) {
278 mprintf(0, "Force: Enabling Force Feedback System\n");
279 //@@ddio_ffb_Enable(kJoy1);
280 D3Use_force_feedback = true;
281 }
282}
283
284// ------------------------------------------------------------------
285// ForceDisableAutoCenter

Callers 3

joystick_settings_dialogFunction · 0.85
ForceInitFunction · 0.85
ForceRestartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected