question

AkshBabbar-0960 avatar image
0 Votes"
AkshBabbar-0960 asked ·

Human Interface Device and C#

I am currently working on a project where I need to use a touch encoder to provide inputs to the software. The issue that I am facing is that I am unable to set up communication between touch encoder and windows. I am using C#, coding in Visual Studio 2019.
I read a few forums and they said that I need to import hid.dll in order to set up communication, but for some reason my VS is not accepting it as a reference, and I tried all ways online to fix it but none of them is working.
Does anyone have any idea how I can go about this project ?

windows-uwpdotnet-csharp
· 5
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AkshBabbar-0960
What went wrong when importing hid.dll? Could you please display some error messages? It is best to add some code you are using so that we can analyze your problem.

0 Votes 0 ·

I am using this information provided on the Microsoft Website : https://docs.microsoft.com/en-us/uwp/api/windows.devices.humaninterfacedevice?view=winrt-19041
Error that I am getting is that the software is not recognizing the HID device

0 Votes 0 ·
Castorix31 avatar image Castorix31 AkshBabbar-0960 ·

This link is UWP : are you using UWP ? (as you did not set it in Tags)

Otherwise, you can use (HID Application Programming Interface (API)) with P/Invoke



0 Votes 0 ·
Show more comments

0 Answers