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

Method suspend

linux/lnxcontroller.cpp:88–88  ·  view source on GitHub ↗

these functions suspend or resume any controller reading. this is really only useful for preemptive controller polling, but they should be used to activate and deactivate controller reading.

Source from the content-addressed store, hash-verified

86// preemptive controller polling, but they should be used to activate and deactivate controller
87// reading.
88void lnxgameController::suspend() { m_Suspended = 1; }
89void lnxgameController::resume() {
90 m_Suspended = 0;
91 m_frame_timer_ms = -1;

Callers 1

SuspendControlsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected