### Godot version

v4.0.3.rc2.official [2ac4e3bb3]

### System information

Windows 10

### Issue description

It seems that joypad button numbers are changed in Godot 4. The Godot 3->4 conversion doesn't change the button numbers.

This Godot 3 Input Map:

![kuva](https://github.com/godotengine/godot/assets/49998025/86a7db2a-b5b5-48a3-84f9-999de1ed584a)

is converted to this:

![kuva](https://github.com/godotengine/godot/assets/49998025/30ef5803-0559-4408-b0ac-e878bf167ff7)

It seems that only buttons 0-3 are same in Godot 3 and 4:

![kuva](https://github.com/godotengine/godot/assets/49998025/37818929-9582-4a11-bdbe-617fd51dd501)


### Steps to reproduce

Convert any Godot 3 project having joypad buttons assigned to inputs.

### Minimal reproduction project

[conv_test.zip](https://github.com/godotengine/godot/files/11525027/conv_test.zip)

if (changed_elements.size() > 0 && !is_ignored) {
			converted_files++;
			for (int k = 0; k < changed_elements.size(); k++) {
				print_line(String("\t\t") + changed_elements[k]);
			}
		}
	}
	print_line(vformat("Checking for valid conversion ended - all files(%d), files which would be converted(%d), files which would not be converted(%d).", collected_files.size(), converted_files, collected_files.size() - converted_files));
	uint64_t conversion_end_time = Time::get_singleton()->get_ticks_msec();
	print_line(vformat("Conversion of all files took %10.3f seconds.", (conversion_end_time - conversion_start_time) / 1000.0));
	return true;
}
Vector<String> ProjectConverter3To4::check_for_files() {
	Vector<String> collected_files = Vector<String>();
	Vector<String> directories_to_check = Vector<String>();
	directories_to_check.push_back("res://");
	while (!directories_to_check.is_empty()) {
		String path = directories_to_check.get(directories_to_check.size() - 1); 
		directories_to_check.resize(directories_to_check.size() - 1); 
		Ref<DirAccess> dir = DirAccess::open(path);
		if (dir.is_valid()) {
			dir->set_include_hidden(true);
			dir->list_dir_begin();
			String current_dir = dir->get_current_dir();
			String file_name = dir->_get_next();
			while (file_name != "") {
				if (file_name == ".git" || file_name == ".godot") {
					file_name = dir->_get_next();
					continue;
				}