Cristi Mitrana
Cristi Mitrana
I've tried to compile this on an older (than current) SDL2 release and it fails with missing `SDL_GameControllerType` and associated defines. Seems this function has been added in 2.0.22 (2.0.20...
> My testing environment is actually Debian Unstable, so no wonder if I have a very new version :) However, I interpret the [2.0.12 changelog](https://github.com/libsdl-org/SDL/releases/tag/release-2.0.12) that game controller support/identification appeared...
Maybe it's something similar to https://github.com/RetroPie/EmulationStation/issues/552 ? It was (is ?) a SDL2 bug generating spurious events, patched locally in RetroPie's SDL2 version. But on x86, the distribution's package is...
> It might. I also face the odd crash when I launch a game, and then end up disconnecting a controller while _outside_ of ES (for instance, while in-game) and...
> @cmitu Thanks, I think that's it. I'm using Ubuntu Focal Fossa which means SDL won't be updated because this is not a security issue so I will live with...
@rileyinman please use the forum for support questions.
I agree with @pjft about keeping the existing `scrollSound` element - backwards compatibility matters, especially for themes which will are no longer updated. Personally, I don't see the need for...
~~Doesn't work on macOS (Apple clang 11):~~ ``` clang es-core/src/utils/StringUtil.cpp:165:43: error: no member named 'ctype' in namespace 'std'; did you mean 'wctype'? auto& fct = std::use_facet(std::locale()); ~~~~~^~~~~ wctype ``` According...
@tomaz82 nicely done. Since `multiByteToWideChar` and `wideCharToMultiByte` and Win32 specific, they won't work on Linux. I'll try the other 2 functions and see how they compare on a Pi.
@tomaz82 yes, I forgot to include the implementation and assumed to be the Win32 equivalents. Here's a result from a Pi4 (no Debug/Release configurations): ``` Message Calls Total Time Total...