diff --git a/app/AsusACPI.cs b/app/AsusACPI.cs index 15189c2c..ac981ea3 100644 --- a/app/AsusACPI.cs +++ b/app/AsusACPI.cs @@ -171,7 +171,7 @@ public class AsusACPI data[1] = BitConverter.GetBytes(eventHandle.ToInt32())[1]; result = Control(0x222400, data, outBuffer); - Debug.WriteLine(result + ":" + BitConverter.ToString(data) + "|" + BitConverter.ToString(outBuffer)); + Logger.WriteLine("ACPI " + result + ":" + BitConverter.ToString(data) + "|" + BitConverter.ToString(outBuffer)); while (true) { diff --git a/app/AsusUSB.cs b/app/AsusUSB.cs index 703f79a6..cdf9f57a 100644 --- a/app/AsusUSB.cs +++ b/app/AsusUSB.cs @@ -194,6 +194,8 @@ namespace GHelper Logger.WriteLine("Input Events" + device.Capabilities.FeatureReportByteLength + "|" + device.Capabilities.InputReportByteLength + device.Description + device.DevicePath); } + if (input is null) Logger.WriteLine("Input device not found"); + return input; } diff --git a/app/GHelper.csproj b/app/GHelper.csproj index fbccab6a..b8a7cbba 100644 --- a/app/GHelper.csproj +++ b/app/GHelper.csproj @@ -16,7 +16,7 @@ AnyCPU False True - 0.66 + 0.67