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

Function ForceDisable

Descent3/D3ForceFeedback.cpp:263–269  ·  view source on GitHub ↗

------------------------------------------------------------------ ForceDisable Purpose: Disables Force Feedback on a Force Feedback system ------------------------------------------------------------------

Source from the content-addressed store, hash-verified

261// Disables Force Feedback on a Force Feedback system
262// ------------------------------------------------------------------
263void ForceDisable(void) {
264 if (D3Force_init) {
265 mprintf(0, "Force: Disabling Force Feedback System\n");
266 //@@ddio_ffb_Disable(kJoy1);
267 D3Use_force_feedback = false;
268 }
269}
270
271// ------------------------------------------------------------------
272// ForceEnable

Callers 3

joystick_settings_dialogFunction · 0.85
ForceInitFunction · 0.85
ForceRestartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected