ssssssss 发表于 2022-4-15 13:30:35

想用c#写一个usbhid的上位机,有没有可以参考的demo?

本帖最后由 ssssssss 于 2022-4-15 13:32 编辑

想用c#写一个usbhid的上位机,有没有可以参考的demo?码云上下载了一个用不了

eric2013 发表于 2022-4-15 15:46:11

C#的没有,C/C++的有。

ssssssss 发表于 2022-4-15 16:01:48

eric2013 发表于 2022-4-15 15:46
C#的没有,C/C++的有。

在哪个地址呢?麻烦发一下

eric2013 发表于 2022-4-15 16:30:44

ssssssss 发表于 2022-4-15 16:01
在哪个地址呢?麻烦发一下

我这个上位机用的USB BULK方式。

也是支持HID方式的,需要倒腾下相关的API。

https://www.armbbs.cn/forum.php?mod=viewthread&tid=90026

ssssssss 发表于 2022-4-27 13:43:31

eric2013 发表于 2022-4-15 16:30
我这个上位机用的USB BULK方式。

也是支持HID方式的,需要倒腾下相关的API。


https://www.amobbs.com/forum.php?mod=viewthread&tid=5706390&highlight=HID

找到一个demo但是没会员:lol

kingdjh 发表于 2022-4-27 17:39:23

github上随便搜都有一堆
https://github.com/jcoenraadts/hid-sharp
https://github.com/mikeobrien/HidLibrary

eric2013 发表于 2022-4-28 02:35:41

kingdjh 发表于 2022-4-27 17:39
github上随便搜都有一堆
https://github.com/jcoenraadts/hid-sharp
https://github.com/mikeobrien/HidL ...

谢谢分享,帮你更新了下连接,前面自动连接到我们论坛了,重新添加了下,好了。
页: [1]
查看完整版本: 想用c#写一个usbhid的上位机,有没有可以参考的demo?