This repository was archived by the owner on Dec 20, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ XboxController.configure = function () {
253253 default :
254254 console . log ( 'error try again' ) ;
255255 }
256- }
256+ } ;
257257
258258util . inherits ( XboxController , events . EventEmitter ) ;
259259
Original file line number Diff line number Diff line change 1- var XboxController = require ( '../lib/xbox' )
2- var xbox = new XboxController
1+ var XboxController = require ( '../lib/xbox' ) ;
2+ var xbox = new XboxController ;
33
44
55xbox . on ( 'a:press' , function ( key ) {
@@ -12,17 +12,17 @@ xbox.on('b:release', function (key) {
1212
1313
1414xbox . on ( 'lefttrigger' , function ( position ) {
15- console . log ( 'lefttrigger' , position )
15+ console . log ( 'lefttrigger' , position ) ;
1616} ) ;
1717
1818xbox . on ( 'righttrigger' , function ( position ) {
19- console . log ( 'righttrigger' , position )
19+ console . log ( 'righttrigger' , position ) ;
2020} ) ;
2121
2222xbox . on ( 'left:move' , function ( position ) {
23- console . log ( 'left:move' , position )
23+ console . log ( 'left:move' , position ) ;
2424} ) ;
2525
2626xbox . on ( 'right:move' , function ( position ) {
27- console . log ( 'right:move' , position )
27+ console . log ( 'right:move' , position ) ;
2828} ) ;
You can’t perform that action at this time.
0 commit comments