### 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)

String end_message = vformat("    Checking file took %d ms.", end_time - start_time);
			print_line(end_message);
		} else {
			String file_content_after = collect_string_from_vector(source_lines);
			uint64_t hash_after = file_content_after.hash64();
			
			
			if (hash_before != hash_after || file_name.ends_with(".gdshader")) {
				converted_files++;
				Ref<FileAccess> file = FileAccess::open(file_name, FileAccess::WRITE);
				ERR_CONTINUE_MSG(file.is_null(), vformat("Unable to apply changes to \"%s\", no writing access.", file_name));
				file->store_string(file_content_after);
				reason.append(vformat("    File was changed, conversion took %d ms.", end_time - start_time));
			} else {
				reason.append(vformat("    File was left unchanged, checking took %d ms.", end_time - start_time));
			}
			if (ignored_lines != 0) {
				reason.append(vformat("    Ignored %d lines, because their length exceeds maximum allowed characters - %d.", ignored_lines, maximum_line_length));
			}
		}
		for (int k = 0; k < reason.size(); k++) {
			print_line(reason[k]);
		}
	}
	print_line(vformat("Conversion ended - all files(%d), converted files: (%d), not converted files: (%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;
}
bool ProjectConverter3To4::validate_conversion() {