Sam Lantinga

Results 1865 comments of Sam Lantinga

MacOS also has just one global keyboard. X11 should work, are you using the latest main SDL code and building with XInput2 enabled?

Oh, right. Yes, currently you'll only get multiple keyboard support on Windows, and as @Kontrabant said, on Wayland in the upcoming 3.4 release for compositors that support it.

> Ok. Not great, because Wayland is unusable on my system (everything is painfully dim on my HDR monitor and the session locks up at random), but I assume I...

We’re focused on the SDL 3.4 release, but feel free to check it out and give us feedback!

I'm tempted to continue handing out unrotated surfaces and add an API to get the native orientation of those surfaces and let the app rotate them. That is consistent with...

I'll go ahead and add SDL_RotateSurface() since I think it would be a useful addition anyway.

@Green-Sky, from a practical standpoint, is the camera image always relative to the device origin? Does it change dynamically? Does it make sense to represent the image orientation as a...

Also, what would we do for webcams, where the orientation of the webcam is independent of the device?

> We're gonna need to figure out the SDL_RotateSurface politics...it currently won't work with YUV or MJPEG data. We can fix this after 3.4 ships if it's important. I think...

This appears to be a bug specific to GameInput, which is no longer the default for SDL 3.4