| 170 | } |
| 171 | |
| 172 | void InputManager::startPolling() |
| 173 | { |
| 174 | if(devicePollingTimer != NULL) |
| 175 | return; |
| 176 | |
| 177 | devicePollingTimer = SDL_AddTimer(POLLING_INTERVAL, devicePollingCallback, (void *)this); |
| 178 | } |
| 179 | |
| 180 | void InputManager::stopPolling() |
| 181 | { |