mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Tweak the DirectInput initialization failure message
This closes #36662.
This commit is contained in:
parent
1a53ee66c1
commit
fe09b4d2b3
@ -70,7 +70,8 @@ JoypadWindows::JoypadWindows(HWND *hwnd) {
|
||||
HRESULT result;
|
||||
result = DirectInput8Create(GetModuleHandle(nullptr), DIRECTINPUT_VERSION, IID_IDirectInput8, (void **)&dinput, nullptr);
|
||||
if (FAILED(result)) {
|
||||
printf("failed init DINPUT: %ld\n", result);
|
||||
printf("Couldn't initialize DirectInput: %ld\n", result);
|
||||
printf("Rebooting your PC may solve this issue.\n");
|
||||
}
|
||||
probe_joypads();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user