MozillaReality / gamepad-plus

INACTIVE - a superb library that extends the Gamepad API with super powers
https://mozvr.github.io/gamepad-plus/
MIT License
34 stars 5 forks source link

#62 Make gamepad API checks static. This is useful to first check if the … #63

Closed danrossi closed 8 years ago

danrossi commented 8 years ago

…browser supports the api.

danrossi commented 8 years ago

I've cleaned up the code and comments. However what type is documented to be returned ?.

I put

@returns {Gamepad}
danrossi commented 8 years ago

Apologies I had to consult the jsdocs it's

@returns {Gamepad[]}
cvan commented 8 years ago

I can rebuild after merged. thanks!