带特殊按钮的遥控器 [英] Remote control with special buttons

查看:68
本文介绍了带特殊按钮的遥控器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



大家好!我需要构建一个使用C#处理远程控制事件的应用程序。我找到了这个样本(http://www.codeproject.com/KB/system/rawinput.aspx),它似乎没有管理特殊按钮,如红色/绿色/黄色/蓝色或播放/暂停/箭头。 ..
是否有网上提供的示例代码或开发此类应用程序的一些提示?


我看到有一些类如IrdaClient,IrdaListener ......但它们只是在Visual Studio 2010中不支持的.NET Comapct Framework中...


提前致谢!

解决方案

您可以找到感兴趣的链接:


http://www.microsoft.com/whdc/device/input/default.mspx


您可能最终会使用DirectX的功能 - 您可以从这里进一步调查:


http://msdn.microsoft.com/en-us/library/ee416850(VS.85).aspx


问候


Hi all! I need to build an application that handles remote control events with C#. I found this sample (http://www.codeproject.com/KB/system/rawinput.aspx), it doesn't seem to manage special buttons like the red/green/yellow/blue one or play/pause/arrows... is there a sample code available on the net or some hints to develop this type of application?

I saw that there are some classes like IrdaClient, IrdaListener... but they're only in the .NET Comapct Framework that is not supported in Visual Studio 2010...

Thanks in advance!

解决方案

You may find this link of interest:

http://www.microsoft.com/whdc/device/input/default.mspx

You'll probably end up using functionality from DirectX - you can investigate further from here:

http://msdn.microsoft.com/en-us/library/ee416850(VS.85).aspx

Regards


这篇关于带特殊按钮的遥控器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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