love.js icon indicating copy to clipboard operation
love.js copied to clipboard

Browser Feature Detection

Open TannerRogalsky opened this issue 9 years ago • 4 comments

It's unfortunate that you need to turn off joystick for all browsers just because Safari doesn't have it. We should either provide a mechanism for checking that or fail gracefully when a feature is not supported (or both!)

TannerRogalsky avatar Feb 14 '16 13:02 TannerRogalsky

With the compatibility release, checking if an SDL subsystem can be initialized should at least result in a catchable error.

TannerRogalsky avatar Feb 24 '16 13:02 TannerRogalsky

From the previous comment, is that saying it is on the compatibility release or SHOULD be in compatibility release in the future?

JaredSartin avatar Dec 21 '16 00:12 JaredSartin

It is in the compatibility release. This problem is one of the main reasons that the compatibility release exists.

TannerRogalsky avatar Dec 21 '16 00:12 TannerRogalsky

Cool, thanks for the info. I will investigate the options on what that means for Mobile/Safari supporting my demos...

JaredSartin avatar Dec 21 '16 00:12 JaredSartin