Sam Lantinga
Sam Lantinga
I'm not thrilled about using undocumented functions to implement dark mode, but other than that, this looks good to me. @icculus, thoughts?
@manupinot, your CameraX approach looks good, but I'm concerned about the application requirement to add CameraX dependencies to build.gradle. Is it possible to detect at runtime whether they're available? That...
The latest code, including https://github.com/libsdl-org/SDL/commit/02e85a153f6d56c36d671842faac42b5b83a6ba9, should fix the distortion on your LG92. Can you try it out and confirm?
> Quite odd how also my M30 pad connects using dinput indeed. It seems to randomly change the mapping under Windows 11. I have to alternate swap the following configs...
@AntTheAlchemist, I figured out what's happening here. The existing mapping works for the original firmware (v1.26) and your firmware (v2.00) has an incompatible mapping. Unfortunately at the DirectInput level they...
> Thank you for that, it seems to work fine indeed with your provided combined mapping. I compared this with the mapping in XInput mode and checked with a fighting...
I'm going to move this to the 3.2 milestone, but feel free to close as not planned or bump to 3.x.
You'd want an offset parameter as well, I believe, but this seems super useful!
I'm a fan. Does someone want to create a PR for this?
You should never use volatile. It implies a level of safety that isn't really there. Always use explicit memory barriers and so forth for IPC and multi-threaded code.