system/input/index.js
function() {
		var i, j, item, controls,
		    config = this.config = this.system.config.input;

		for ( i = 0; i < config.length; i++ ) {
			item = config[ i ];
			
			this.setController( i, item.type );

			controls = item.controls;
			if ( !Array.isArray(controls) ) {
				controls = [ controls ];
			}

			for ( j = 0; j < controls.length; j++ ) {
				this.configure( i, controls[ j ].type, controls[ j ].config );
			}
		}
	}
function() {
		var i, j, item, controls,
		    config = this.config = this.system.config.input;

		for ( i = 0; i < config.length; i++ ) {
			item = config[ i ];
			
			this.setController( i, item.type );

			controls = item.controls;
			if ( !Array.isArray(controls) ) {
				controls = [ controls ];
			}

			for ( j = 0; j < controls.length; j++ ) {
				this.configure( i, controls[ j ].type, controls[ j ].config );
			}
		}
	}
function ( ) { var i , j , item , controls , config = this . config = this . system . config . input ; for ( i = 0 ; i < config . length ; i ++ ) { item = config [ i ] ; this . setController ( i , item . type ) ; controls = item . controls ; if ( ! Array . isArray ( controls ) ) { controls = [ controls ] ; } for ( j = 0 ; j < controls . length ; j ++ ) { this . configure ( i , controls [ j ] . type , controls [ j ] . config ) ; } } }
Initialize total input config.
Initialize total input config .