@@ -12,7 +12,7 @@ var EventEmitter = require('eventemitter3');
1212/**
1313 * @classdesc
1414 * A single Gamepad.
15- *
15+ *
1616 * These are created, updated and managed by the Gamepad Manager.
1717 *
1818 * @class Gamepad
@@ -54,13 +54,13 @@ var Gamepad = new Class({
5454
5555 /**
5656 * A string containing some information about the controller.
57- *
57+ *
5858 * This is not strictly specified, but in Firefox it will contain three pieces of information
5959 * separated by dashes (-): two 4-digit hexadecimal strings containing the USB vendor and
6060 * product id of the controller, and the name of the controller as provided by the driver.
6161 * In Chrome it will contain the name of the controller as provided by the driver,
6262 * followed by vendor and product 4-digit hexadecimal strings.
63- *
63+ *
6464 * @name Phaser.Input.Gamepad.Gamepad#id
6565 * @type {string }
6666 * @since 3.0.0
@@ -142,7 +142,7 @@ var Gamepad = new Class({
142142 * @private
143143 * @since 3.10.0
144144 */
145- this . _LCRight = ( buttons [ 15 ] ) ? buttons [ 15 ] : _noButton ; ;
145+ this . _LCRight = ( buttons [ 15 ] ) ? buttons [ 15 ] : _noButton ;
146146
147147 /**
148148 * A reference to the Top Button in the Left Cluster.
@@ -152,7 +152,7 @@ var Gamepad = new Class({
152152 * @private
153153 * @since 3.10.0
154154 */
155- this . _LCTop = ( buttons [ 12 ] ) ? buttons [ 12 ] : _noButton ; ;
155+ this . _LCTop = ( buttons [ 12 ] ) ? buttons [ 12 ] : _noButton ;
156156
157157 /**
158158 * A reference to the Bottom Button in the Left Cluster.
@@ -162,7 +162,7 @@ var Gamepad = new Class({
162162 * @private
163163 * @since 3.10.0
164164 */
165- this . _LCBottom = ( buttons [ 13 ] ) ? buttons [ 13 ] : _noButton ; ;
165+ this . _LCBottom = ( buttons [ 13 ] ) ? buttons [ 13 ] : _noButton ;
166166
167167 /**
168168 * A reference to the Left Button in the Right Cluster.
@@ -172,7 +172,7 @@ var Gamepad = new Class({
172172 * @private
173173 * @since 3.10.0
174174 */
175- this . _RCLeft = ( buttons [ 2 ] ) ? buttons [ 2 ] : _noButton ; ;
175+ this . _RCLeft = ( buttons [ 2 ] ) ? buttons [ 2 ] : _noButton ;
176176
177177 /**
178178 * A reference to the Right Button in the Right Cluster.
@@ -182,7 +182,7 @@ var Gamepad = new Class({
182182 * @private
183183 * @since 3.10.0
184184 */
185- this . _RCRight = ( buttons [ 1 ] ) ? buttons [ 1 ] : _noButton ; ;
185+ this . _RCRight = ( buttons [ 1 ] ) ? buttons [ 1 ] : _noButton ;
186186
187187 /**
188188 * A reference to the Top Button in the Right Cluster.
@@ -192,7 +192,7 @@ var Gamepad = new Class({
192192 * @private
193193 * @since 3.10.0
194194 */
195- this . _RCTop = ( buttons [ 3 ] ) ? buttons [ 3 ] : _noButton ; ;
195+ this . _RCTop = ( buttons [ 3 ] ) ? buttons [ 3 ] : _noButton ;
196196
197197 /**
198198 * A reference to the Bottom Button in the Right Cluster.
@@ -202,7 +202,7 @@ var Gamepad = new Class({
202202 * @private
203203 * @since 3.10.0
204204 */
205- this . _RCBottom = ( buttons [ 0 ] ) ? buttons [ 0 ] : _noButton ; ;
205+ this . _RCBottom = ( buttons [ 0 ] ) ? buttons [ 0 ] : _noButton ;
206206
207207 /**
208208 * A reference to the Top Left Front Button (L1 Shoulder Button)
@@ -212,7 +212,7 @@ var Gamepad = new Class({
212212 * @private
213213 * @since 3.10.0
214214 */
215- this . _FBLeftTop = ( buttons [ 4 ] ) ? buttons [ 4 ] : _noButton ; ;
215+ this . _FBLeftTop = ( buttons [ 4 ] ) ? buttons [ 4 ] : _noButton ;
216216
217217 /**
218218 * A reference to the Bottom Left Front Button (L2 Shoulder Button)
@@ -222,7 +222,7 @@ var Gamepad = new Class({
222222 * @private
223223 * @since 3.10.0
224224 */
225- this . _FBLeftBottom = ( buttons [ 6 ] ) ? buttons [ 6 ] : _noButton ; ;
225+ this . _FBLeftBottom = ( buttons [ 6 ] ) ? buttons [ 6 ] : _noButton ;
226226
227227 /**
228228 * A reference to the Top Right Front Button (R1 Shoulder Button)
@@ -232,7 +232,7 @@ var Gamepad = new Class({
232232 * @private
233233 * @since 3.10.0
234234 */
235- this . _FBRightTop = ( buttons [ 5 ] ) ? buttons [ 5 ] : _noButton ; ;
235+ this . _FBRightTop = ( buttons [ 5 ] ) ? buttons [ 5 ] : _noButton ;
236236
237237 /**
238238 * A reference to the Bottom Right Front Button (R2 Shoulder Button)
@@ -242,7 +242,7 @@ var Gamepad = new Class({
242242 * @private
243243 * @since 3.10.0
244244 */
245- this . _FBRightBottom = ( buttons [ 7 ] ) ? buttons [ 7 ] : _noButton ; ;
245+ this . _FBRightBottom = ( buttons [ 7 ] ) ? buttons [ 7 ] : _noButton ;
246246
247247 var _noAxis = { value : 0 } ;
248248
@@ -290,7 +290,7 @@ var Gamepad = new Class({
290290 /**
291291 * Gets the value of a button based on the given index.
292292 * The index must be valid within the range of buttons supported by this Gamepad.
293- *
293+ *
294294 * The return value will be either 0 or 1 for an analogue button, or a float between 0 and 1
295295 * for a pressure-sensitive digital button, such as the shoulder buttons on a Dual Shock.
296296 *
0 commit comments