| 125 | } |
| 126 | |
| 127 | void 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. |
no test coverage detected