[3PP] Uplifted FMT version and adjusted messages

This commit is contained in:
Gliniak
2024-12-12 20:28:11 +01:00
parent 41771055f8
commit 3318ab5d4c
30 changed files with 68 additions and 43 deletions

View File

@@ -485,9 +485,10 @@ void SDLInputDriver::OnControllerDeviceAdded(const SDL_Event& event) {
"ProductID(0x{:04X}), "
"GUID({})",
SDL_GameControllerName(controller),
SDL_JoystickGetType(SDL_GameControllerGetJoystick(controller)),
static_cast<uint32_t>(
SDL_JoystickGetType(SDL_GameControllerGetJoystick(controller))),
#if SDL_VERSION_ATLEAST(2, 0, 12)
SDL_GameControllerGetType(controller),
static_cast<uint32_t>(SDL_GameControllerGetType(controller)),
#else
"?",
#endif

View File

@@ -79,7 +79,8 @@ void WinKeyInputDriver::ParseKeyBinding(ui::VirtualKey output_key,
key_bindings_.push_back(key_binding);
XELOGI("winkey: \"{}\" binds key 0x{:X} to controller input {}.",
source_token, key_binding.input_key, description);
source_token, static_cast<uint16_t>(key_binding.input_key),
description);
}
}