Update SDL to 2.10

This commit is contained in:
Joshua Granick
2019-08-20 12:59:31 -07:00
parent 39bf29dacb
commit e9a790a4ea
5 changed files with 7 additions and 6 deletions

View File

@@ -1826,7 +1826,10 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
if (source == InputDevice.SOURCE_UNKNOWN) {
InputDevice device = InputDevice.getDevice(deviceId);
source = device.getSources();
if ( device != null )
{
source = device.getSources();
}
}
if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {