| 995 | } |
| 996 | |
| 997 | static bool DoraHasGameController() { |
| 998 | for (int i = 0; i < SDL_NumJoysticks(); ++i) { |
| 999 | if (SDL_IsGameController(i)) return true; |
| 1000 | } |
| 1001 | return false; |
| 1002 | } |
| 1003 | |
| 1004 | void ImGuiDora::clearGamepadInputs(ImGuiIO& io) { |
| 1005 | _gamepadWindowingDown = false; |
no test coverage detected