Handle Keyboard events on Mac

How to handle key pressed and released events on desktop platforms?

I saw pull request 1849. When keyboard dispatcher will be included into cocos2d-x c++ ?

You can see EAGLView and CCEventDispatcher in plantform/mac folder