是否可以使用供应商提供的SDK访问硬件? [英] Is it possible to access hardware using vendor supplied SDK?

查看:95
本文介绍了是否可以使用供应商提供的SDK访问硬件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个CM Masterkeys系列键盘,它通过C ++ SDK支持自定义灯光效果,在编译库和头文件中提供。我想在它周围安装一个Windows运行时组件包装器,以便从UWP应用程序调用它。
这部分实际上有效,我可以从Runtime Component项目调用函数,但它似乎缺乏对硬件的访问权限,因为钩子/控制方法返回false。

I have a CM Masterkeys series keyboard that supports custom lighting effects via their C++ SDK, supplied in compiled libraries and a header file. I wanted to have a Windows Runtime Component Wrapper around it, to make it callable from a UWP app. This part actually works, I can call functions from the Runtime Component project, but it seem to be lacking access to the hardware, as hooking / control taking methods return false.

我有用于指定DeviceCapability的VID / PID,但我不知道它需要什么用法功能,或者甚至UWP平台启用它,以获得对设备的这种原始/非标准访问。

I have the VID/PID for specifying DeviceCapability, but I don't know what usage function it requires, or if it's even enabled by the UWP platform, to have this kind of a raw / not standard access to a device.

欢迎任何建议,谢谢

推荐答案

这将取决于SDK。您需要与供应商联系以获取详细信息。

That will depend on the SDK. You'll need to talk to the vendor for details.

如果它不是为UWP构建的,那么它将无法运行,如果它需要自定义驱动程序,那么您的应用程序将需要由司机作者特别授权。这通常仅适用于内置设备的OEM。如果设备使用标准USB / HID,则其功能
可通过这些API提供给UWP。

If it isn't built for UWP then it won't run, and if it requires a custom driver then your app would need to be specifically authorized by the driver authors. This is generally OEM only for in-box devices. If the device uses standard USB / HID then its functionality may be available to UWP through those API.


这篇关于是否可以使用供应商提供的SDK访问硬件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆