closes a stick closes connection with controller.
| 210 | // closes a stick |
| 211 | // closes connection with controller. |
| 212 | static void joy_CloseStick(tJoystick joy) { |
| 213 | // CLOSE joystick here |
| 214 | SDL_JoystickClose(Joysticks[joy].handle); |
| 215 | Joysticks[joy].handle = 0; |
| 216 | } |
| 217 | |
| 218 | // returns true if joystick valid |
| 219 | bool joy_IsValid(tJoystick joy) { |
no outgoing calls
no test coverage detected