### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

- OS: Windows 10
- Godot Version: v4.0.3.stable.official [5222a99f5]
- Rendering Driver: GLES3 
- Rendering Method: Compatiblity
- Graphics Card: Intel UHD Graphics 630 (HP)
- Graphics Card Driver: version 24.20.100.6025
- CPU: Intel Core i3-8100 

### Issue description

![image](https://github.com/godotengine/godot/assets/25520374/ec9ba083-1255-435b-bf76-1ebb51734ce7)
Whenever I run any project, even empty ones, I get these 4 errors about input mapping. They are as follows:

`E 0:00:00:0053   parse_mapping: Invalid device mapping entry "x:" in mapping:
03000000790000004318000000000000,dev:gc:GameCube,platform:Windows,a:b1,b:b2,y:b3,x:,start:b9,guide:,back:,leftstick:,rightstick:b0,leftshoulder:b4,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a5,righty:a2,lefttrigger:a3,righttrigger:a4,
  <C++ Error>    Condition "output.length() < 1 || input.length() < 2" is true. Continuing.
  <C++ Source>   core/input/input.cpp:1357 @ parse_mapping()`
`E 0:00:00:0053   parse_mapping: Invalid device mapping entry "guide:" in mapping:
03000000790000004318000000000000,dev:gc:GameCube,platform:Windows,a:b1,b:b2,y:b3,x:,start:b9,guide:,back:,leftstick:,rightstick:b0,leftshoulder:b4,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a5,righty:a2,lefttrigger:a3,righttrigger:a4,
  <C++ Error>    Condition "output.length() < 1 || input.length() < 2" is true. Continuing.
  <C++ Source>   core/input/input.cpp:1357 @ parse_mapping()`
`E 0:00:00:0053   parse_mapping: Invalid device mapping entry "back:" in mapping:
03000000790000004318000000000000,dev:gc:GameCube,platform:Windows,a:b1,b:b2,y:b3,x:,start:b9,guide:,back:,leftstick:,rightstick:b0,leftshoulder:b4,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a5,righty:a2,lefttrigger:a3,righttrigger:a4,
  <C++ Error>    Condition "output.length() < 1 || input.length() < 2" is true. Continuing.
  <C++ Source>   core/input/input.cpp:1357 @ parse_mapping()`
`E 0:00:00:0053   parse_mapping: Invalid device mapping entry "leftstick:" in mapping:
03000000790000004318000000000000,dev:gc:GameCube,platform:Windows,a:b1,b:b2,y:b3,x:,start:b9,guide:,back:,leftstick:,rightstick:b0,leftshoulder:b4,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a5,righty:a2,lefttrigger:a3,righttrigger:a4,
  <C++ Error>    Condition "output.length() < 1 || input.length() < 2" is true. Continuing.
  <C++ Source>   core/input/input.cpp:1357 @ parse_mapping()`

This only happens when I use the Steam version. Using the version downloaded from godotengine.org does not yield this error. I have tried rebooting and reinstalling Godot, neither of which have worked.

### Steps to reproduce

1. Install Godot from Steam
2. Create a new project
3. Run the project

### Minimal reproduction project

N/A
int cur_val = joy_names[p_device].hat_current;
	for (int hat_direction = 0, hat_mask = 1; hat_direction < (int)HatDir::MAX; hat_direction++, hat_mask <<= 1) {
		if (((int)p_val & hat_mask) != (cur_val & hat_mask)) {
			if (map[hat_direction].type == TYPE_BUTTON) {
				_button_event(p_device, (JoyButton)map[hat_direction].index, (int)p_val & hat_mask);
			}
			if (map[hat_direction].type == TYPE_AXIS) {
				_axis_event(p_device, (JoyAxis)map[hat_direction].index, ((int)p_val & hat_mask) ? map[hat_direction].value : 0.0);
			}
		}
	}
	joy_names[p_device].hat_current = (int)p_val;
}
void Input::_button_event(int p_device, JoyButton p_index, bool p_pressed) {
	Ref<InputEventJoypadButton> ievent;
	ievent.instantiate();
	ievent->set_device(p_device);
	ievent->set_button_index(p_index);
	ievent->set_pressed(p_pressed);
	parse_input_event(ievent);
}
void Input::_axis_event(int p_device, JoyAxis p_axis, float p_value) {
	Ref<InputEventJoypadMotion> ievent;
	ievent.instantiate();
	ievent->set_device(p_device);
	ievent->set_axis(p_axis);
	ievent->set_axis_value(p_value);
	parse_input_event(ievent);
}
Input::JoyEvent Input::_get_mapped_button_event(const JoyDeviceMapping &mapping, JoyButton p_button) {