SDL
SDL copied to clipboard
Simple Directmedia Layer
I had some code that was working, and when I tested recently it segfaulted. I was able to reproduce the minimum case below: ```C #include int main(int argc, char* args[])...
## Description This adds support for: - System theme - Sandbox detection - Device form factor detection Many things aren't properly supported yet, but changes and upgrades will happen on...
Filing this now in case someone else is looking at this... Got the hardware today, not sure if I'll get to it this weekend. For all I know NS2 devices...
I've noticed that [initial support PR](https://github.com/libsdl-org/SDL/pull/10922) didn't include the MouseMotion sending, but I'm not sure if it's even needed. [This comment in the protocol](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/337#note_2579122) suggests that we should also send...
SDL recently added support for Flydigi controllers and Steam Beta also just added support for Flydigi controllers paddle buttons and C/Z buttons on D-Input mode. Currently you can use gyro...
This is very obscure and weird bug, therefore I am sorry I may not be able to provide full context needed to resolve it. Almost every project with SDL3 +...
Tested with an official Switch Pro Controller and SDL2 2.32.6. I didn't test SDL3 or the Switch accelerometer sensor data. This also happens with third-party controllers that behave like a...
These checks seem to affect performance, particularly they take a huge part of SDL_RenderCopy time: ``` 44.54% SDL_RenderTextureRotated - 44.48% SDL_RenderTextureRotated_REAL - 43.57% SDL_RenderTexture_REAL + 20.38% SDL_RenderTextureInternal + 19.42% SDL_ObjectValid...
Atm. I try it on BlueStacks emulator on macOS but it behaves the same. And I'm pretty sure it is possible to make it working because it works fine in...
This reduces the likelyhood of the user saving a file without an extension. ## Updated Description This MR corrects the behaviour of the xdg-portal implementation of `SDL_ShowSaveFileDialog`. Currently SDL assumes...