| 85 | } |
| 86 | |
| 87 | static void SDLCALL |
| 88 | SDL_MouseRelativeSpeedScaleChanged(void *userdata, const char *name, const char *oldValue, const char *hint) |
| 89 | { |
| 90 | SDL_Mouse *mouse = (SDL_Mouse *)userdata; |
| 91 | |
| 92 | if (hint && *hint) { |
| 93 | mouse->relative_speed_scale = (float)SDL_atof(hint); |
| 94 | } else { |
| 95 | mouse->relative_speed_scale = 1.0f; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | static void SDLCALL |
| 100 | SDL_TouchMouseEventsChanged(void *userdata, const char *name, const char *oldValue, const char *hint) |
nothing calls this directly
no test coverage detected