TannerRogalsky / love.js

LÖVE ported to the web using Emscripten
MIT License
493 stars 53 forks source link

Browser Feature Detection #24

Open TannerRogalsky opened 8 years ago

TannerRogalsky commented 8 years ago

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 commented 8 years ago

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

JaredSartin commented 7 years ago

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

TannerRogalsky commented 7 years ago

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

JaredSartin commented 7 years ago

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