Sam Lantinga
Sam Lantinga
> What are SDL_GLOBAL_MOUSE_ID and SDL_DEFAULT_MOUSE_ID supposed to be used for respectively? There doesn’t seem to be any consistent pattern in the codebase for when events are sent from one...
I've gone ahead and documented that you only get a non-zero mouse ID for touch emulated events or when relative mode is enabled.
Can you add logging to the init? It should be initialized at startup, SDL_EVDEV_Init() is called within the video initialization routine.
More information on using ICU to handle this: https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/ubidi_8h.html#details
So you can potentially implement this on top of the SDL_ttf 3.0 API, using text objects and TTF_SetTextPosition() to align them correctly.
I've updated SDL_ttf's right-to-left language support. It doesn't do the full BiDi algorithm, but if you've split your text into multiple single-direction runs it should handle them correctly. You can...
I don’t know, this seems useful to me. I’ll reopen it for SDL 3.0, thanks!
If someone wanted to create a PR that implements that for GLSL, HLSL and Metal, we would entertain that, but nobody has volunteered, instead solving it using images or their...
You would have to do it inside the renderer. You can look at the shader code in each renderer to get an idea of what you'd have to do.
@flibitijibibo, we'd like to ship 3.4 soon, what needs to be done on this bug?