Added touchpad toggle for tablet mode on x13/x16

This commit is contained in:
Serge
2023-05-15 23:59:21 +02:00
parent 853d0c231d
commit f39563fcdf
5 changed files with 39 additions and 15 deletions

View File

@@ -166,7 +166,7 @@ namespace GHelper
{
HidDevice[] HidDeviceList = HidDevices.Enumerate(0x0b05, deviceIds).ToArray();
foreach (HidDevice device in HidDeviceList)
if (device.IsConnected
if (device.IsConnected
&& device.Capabilities.FeatureReportByteLength > 0
&& device.Capabilities.InputReportByteLength >= minInput) //
yield return device;