-
Notifications
You must be signed in to change notification settings - Fork 16
Controller.supported
Samir Zahran edited this page May 18, 2017
·
5 revisions
Type: Bool
A boolean value representing whether Controller.js is compatible with the current browser.
This is checked automatically when Controller.search()is called.
console.log(Controller.supported);
>> true // or falseThe MIT License (MIT)
Copyright © 2016 Samir Zahran
Setup
Buttons & Analog Sticks
Controller Layouts
Configuring Settings
Controller Events
Button Events
Analog Stick Events
Controller.supported
Controller.controllers
Controller.controllerCount
Controller.search()
Controller.getController()
Controller.watchAll()
Controller.unwatchAll()
.connectedTimestamp
.id
.index
.inputs
.layoutInfo
.name
.watch()
.unwatch()
Settings Objects
List of Settings
settings.list()
settings.clear()
settings.update()
→ Grunt Tasks
→ Registering Settings
→ Creating Layout Maps