We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603d127 commit 717524bCopy full SHA for 717524b
library/graphics/Gamepad.cc
@@ -237,7 +237,8 @@ namespace gf {
237
if (gamepad == nullptr) {
238
Log::error("Could not open gamepad with id {}: {}", uint32_t(id), SDL_GetError());
239
} else {
240
- Log::debug("\tserial: {:016X}", uint64_t(GamepadDevice(gamepad).serial_id()));
+ auto device = GamepadDevice(gamepad);
241
+ Log::debug("\tserial: {:016X} ({})", uint64_t(device.serial_id()), device.serial().c_str());
242
}
243
244
return { gamepad };
0 commit comments