编程为苹果远程控制 [英] Programming for the Apple infared remote controls

查看:94
本文介绍了编程为苹果远程控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何开始为苹果公司的遥控器编程?



首先,我只打算支持一个控制器,



我的意思是编程,我是如何开始编写一个OSX,最好是Cocoa如果有API,应用程序拦截命令从控制器,然后发送命令到操作系统。



例如,作为一个开始,我想要能够简单地拿起一个键按然后向操作系统发出一个键盘命令。



比如说,我有这个监听器应用程序运行,如果你按菜单按钮,

解决方案

一些搜索结果显示:

/ p>



其他资源:





如果我发现更多,我会编辑我的答案。 >

How do I get started with programming for the Apple infared remote control?

To start with, I only intend to support one control, and one type of receiver, that on the current unibody MacBooks.

What I mean by programming, is, how do I get started with writing an OSX, preferably Cocoa if there are APIs, app which intercepts commands from the control, and then sends commands to the OS.

For example, as a start, I'd like to be able to simply pick up a key press from the remote control, and then emit a keyboard command to the OS.

Like, say I've got this listener app running, if you press the menu button, and you're in the textedit app, it prints out the letter "a" for example.

解决方案

Some searching around has revealed:

Other resources:

If I find more I'll edit my answer.

这篇关于编程为苹果远程控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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