문제

I need to access the raw data of the IR with cocoa, but not only the received from the Apple Remote. I saw this https://github.com/martinkahr/apple_remote_control but It's only for the Apple Remote.

도움이 되었습니까?

해결책

Just from a quick browse over the source you linked to, it appears that what you're looking for is the I/O Kit. Specifically the HID (human input device aspects of it).

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

This seems to be the bridging layer between Mac OS applications the the hardware itself.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top