Sample Mac Plugin with IOKIT Framework

Hi,

really struggling with this. Can anyone provide a sample Mac Plugin which uses IOKIT Framework. Our Simulator runs well on windows, but just cannot get enough function from game controllers on Mac.