How to capture event from apple remote?

38 Views Asked by At

I want to capture events from an apple remote in a macOS App.

I tried to use EventTap to capture CGEvent from the system and found it do send an event. Then I turn it into NSEvent, then found the data1 and data2 of all buttons are all the same. I'm very confused now.

0

There are 0 best solutions below