Sam Lantinga

Results 1875 comments of Sam Lantinga

What’s the use case for this? Can you show a pseudo-code example?

Text input events come from other things than keystrokes and we rely on the OS to handle key repeats. You can process key messages directly, but keep in mind this...

The Vader 4 Pro controller is already supported, and I imagine the Vader 3 Pro is similar, but I don't have one for testing so I didn't enable it. What...

Cool, does this patch work for you? ```diff diff --git a/src/joystick/hidapi/SDL_hidapi_flydigi.c b/src/joystick/hidapi/SDL_hidapi_flydigi.c index fb3fa93b7..29929f80c 100644 --- a/src/joystick/hidapi/SDL_hidapi_flydigi.c +++ b/src/joystick/hidapi/SDL_hidapi_flydigi.c @@ -195,6 +195,8 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device) case 81: HIDAPI_SetDeviceName(device,...

Okay, I've applied that patch and the next Steam beta will have support for the gyro on the Vader 3 Pro. Regarding trigger rumble, I don't know how to activate...

Yes please, go ahead and report specific issues that you're seeing. Also check the code to make sure it's expected to work: https://github.com/libsdl-org/SDL/blob/main/src/joystick/hidapi/SDL_hidapi_flydigi.c

Feel free to contribute a PR!

They are dummy implementations that provide the API with no underlying hardware. They're useful for testing or for making sure the API is functional even if implementations are not available.

This is probably the OpenGL ES context save/restore code not checking if this is a Vulkan window. Do you have a small test app that we can use to repro...