 
 						gamepadInfo = new AutoGamepadInfo();
 						gamepadInfo.id          = jjs;
+						gamepadInfo.platformId  = iis;
 						gamepadInfo.nameFilter  = arrayToStringVector(gamepadObj["filters"]["name"]);
 
 						platformInfo.gamepads.push(gamepadInfo);

		}

		public function getDeviceTypeAt(__index:uint):String {
			return gameInputDeviceDefinitions.length > __index && gameInputDeviceDefinitions[__index] != null ? gameInputDeviceDefinitions[__index].id : null;
		}
	}
}

		controls = {};
		controlsSplit = {};
		keys = new Vector.<AutoGamepadControlKeyInfo>();
	}

	public function getType():String {
		return platformId + "/" + id;
	}
}

