Wie die IR (Infrarot-Empfänger) mit Cocoa zugreifen?
-
12-10-2019 - |
Frage
Ich brauche die Rohdaten der IR mit Kakao zugreifen, aber nicht nur die von dem Apple Remote empfangen. Ich sah dieses https://github.com/martinkahr/apple_remote_control aber es ist nur für den Apple Remote.
Lösung
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).
This seems to be the bridging layer between Mac OS applications the the hardware itself.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow