Use device correct name for logging

This commit is contained in:
IceStormNG
2023-07-25 19:14:40 +02:00
parent f8ba867440
commit 834952ca33

View File

@@ -145,7 +145,7 @@ namespace GHelper.Peripherals
{ {
if (am.IsDeviceConnected() && !ConnectedMice.Contains(am)) if (am.IsDeviceConnected() && !ConnectedMice.Contains(am))
{ {
Logger.WriteLine("Detected a new ROG Chakram X. Connecting..."); Logger.WriteLine("Detected a new" + am.GetDisplayName() + " . Connecting...");
Connect(am); Connect(am);
} }
} }