[mac] USB Gamepad support

Hi all, i’m very new to cocos2d-* and never built anything in it yet other than the examples.

In my search in these forums and on the internet, i haven’t found a definitive answer to:

Have you developed a cocos2d game with usb gamepad support ?

these would obviously target one of linux/win32/mac/(and now android)
although i am developing on mac.

if so, can you please guide me on how to listen on gamepad events on c++ mac target?

thanks!