From a8d48325d5e6fe0466502b865c82317b6f7410a2 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Mon, 6 Sep 2021 23:24:51 -0400 Subject: get grapher building --- wrapper/input.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wrapper/input.cpp') diff --git a/wrapper/input.cpp b/wrapper/input.cpp index e34af4a..334a0ec 100644 --- a/wrapper/input.cpp +++ b/wrapper/input.cpp @@ -25,11 +25,12 @@ public ref struct MultiHandleDevice { System::String^ id; List^ handles; - // Each element in the list returned has a distinct id + // Returned list represents the current connected raw input devices, + // where each device has a distinct device id // https://docs.microsoft.com/en-us/windows-hardware/drivers/install/device-ids - static List^ GetList() + static IList^ GetList() { - return ListMaker::MakeList(); + return ListMaker::MakeList()->AsReadOnly(); } ref class ListMaker { -- cgit v1.2.3