function JoyStick(device){
  var self = this;
  Mouse.apply(this, arguments);
  this.on('data', function(ev){
    if(ev.type == InputEvent.EVENT_TYPES.EV_INIT){
      self.emit('init', ev);
    }
  });
}
function JoyStick(device){
  var self = this;
  Mouse.apply(this, arguments);
  this.on('data', function(ev){
    if(ev.type == InputEvent.EVENT_TYPES.EV_INIT){
      self.emit('init', ev);
    }
  });
}
function JoyStick ( device ) { var self = this ; Mouse . apply ( this , arguments ) ; this . on ( 'data' , function ( ev ) { if ( ev . type == InputEvent . EVENT_TYPES . EV_INIT ) { self . emit ( 'init' , ev ) ; } } ) ; }
[JoyStick description]
@param {[type]} device [description]
[ JoyStick description ]