iOS 13.4 - Support pressesBegan and pressesEnd to allow for valid isDown state in SDL_GetKeyboardState

Are there any plans to support the new pressesBegan and pressesEnd on UIViewController added in iOS 13.4? Currently SDL doesn’t support isDown as the SDL_PRESSED and SDL_RELEASED are called together - http://hg.libsdl.org/SDL/file/42ef99a1bde2/src/video/uikit/SDL_uikitviewcontroller.m#l437

I believe by adding support for this new functionality in iOS 13.4 will allow games to work with hardware keyboards in iOS that depend on keys like WASD being “isDown” to move things around :slight_smile:

Example below:

It looks like this has been added to the current, development version of SDL, via the recent check in, https://hg.libsdl.org/SDL/rev/3b90978ddf04