gpt4 book ai didi

objective-c - 如何使用 Cocoa 访问 IR(红外线接收器)?

转载 作者:搜寻专家 更新时间:2023-10-30 20:27:15 24 4
gpt4 key购买 nike

我需要使用 cocoa 访问 IR 的原始数据,而不仅仅是从 Apple Remote 接收的数据。我看到这个 https://github.com/martinkahr/apple_remote_control但它仅适用于 Apple Remote。

最佳答案

只需快速浏览一下您链接到的源代码,您就会发现您正在寻找的是 I/O 套件。特别是 HID(人类输入设备方面)。

http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/IOKitFundamentals/Introduction/Introduction.html

这似乎是 Mac OS 应用程序与硬件本身之间的桥接层。

关于objective-c - 如何使用 Cocoa 访问 IR(红外线接收器)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4518752/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com