summaryrefslogtreecommitdiff
path: root/grapher/Models
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-04-27 21:27:37 -0400
committerGitHub <[email protected]>2021-04-27 21:27:37 -0400
commitc13f06672dea12d49c4b65b9bbcf85bb261cc8d7 (patch)
tree9e3eb5ec57e0f57547b897f0fb3a01882468c8ef /grapher/Models
parentMerge pull request #81 from a1xd/log-unhandled-ex (diff)
parentbump version (diff)
downloadrawaccel-1.4.4.tar.xz
rawaccel-1.4.4.zip
Merge pull request #86 from a1xd/fix-inputv1.4.4
Suppress id/rawinput related errors
Diffstat (limited to 'grapher/Models')
-rw-r--r--grapher/Models/Devices/DeviceIDManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/Models/Devices/DeviceIDManager.cs b/grapher/Models/Devices/DeviceIDManager.cs
index 8592763..39856a1 100644
--- a/grapher/Models/Devices/DeviceIDManager.cs
+++ b/grapher/Models/Devices/DeviceIDManager.cs
@@ -46,9 +46,9 @@ namespace grapher.Models.Devices
if (found) SetActive(anyDevice);
- foreach (var (name, id) in RawInputInterop.GetDeviceIDs())
+ foreach (string id in RawInputInterop.GetDeviceIDs())
{
- var deviceItem = new DeviceIDItem(name, id, this);
+ var deviceItem = new DeviceIDItem(string.Empty, id, this);
if (!found && deviceItem.ID.Equals(devID))
{
SetActive(deviceItem);