我需要用可可访问IR的原始数据,而不仅仅是从Apple遥控器接收的。我看到了这个 https://github.com/martinkahr/apple_remote_control 但这仅适用于苹果遥控器。

有帮助吗?

解决方案

仅在您链接到的源的快速浏览中,您正在寻找的就是I/O套件。特别是HID(人类输入设备的方面)。

http://developer.apple.com/library/mac/#documentation/devicedrivers/conceptual/iokitfundamentals/introduction/introduction/introduction.html

这似乎是Mac OS应用程序之间的桥接层。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top