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

line = reg_container.reg_json_to.sub(line, "JSON.new().stringify", true);
	}
	// 
	if (line.contains("parse_json")) {
		line = reg_container.reg_json_parse.sub(line, "$1var test_json_conv = JSON.new()\n$1test_json_conv.parse($3\n$1$2test_json_conv.get_data()", true);
	}
	// 
	if (line.contains("JSON.print(")) {
		line = reg_container.reg_json_print.sub(line, "JSON.stringify(", true);
	}
	// 
	if (line.contains("get_node")) {
		line = line.replace("get_node(@", "get_node(");
	}
	if (line.contains("export")) {
		// 
		line = reg_container.reg_export_typed.sub(line, "export var $2: $1");
		// 
		line = reg_container.reg_export_inferred_type.sub(line, "export var $1 :=");
		// 
		line = reg_container.reg_export_simple.sub(line, "export var $2: $1");
		// 
		line = reg_container.reg_export_advanced.sub(line, "export var $2$3 # ($1)");
	}
	// 
	if (line.contains("setget")) {
		line = reg_container.reg_setget_setget.sub(line, "var $1$2: get = $4, set = $3", true);
	}
	// 
	if (line.contains("setget")) {