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

Function joy_Close

ddio/sdljoy.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void joy_Close() {
128 // initialize joystick list
129 for (int i = 0; i < MAX_JOYSTICKS; i++) {
130 joy_CloseStick((tJoystick)i);
131 }
132 SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
133}
134
135// initializes a joystick
136// if server_adr is valid, a link is opened to another machine with a controller.

Callers 2

ddio_CloseFunction · 0.85
joy_InitFunction · 0.85

Calls 1

joy_CloseStickFunction · 0.85

Tested by

no test coverage detected