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

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



	// Properties
	public var id:String;
	public var platformId:String;

	public var nameFilter:Vector.<String>;									// Filter for device.name

