Use keyboard on mac with cocos2d-x

Dear all,
I’m developing a game same mario, i does’nt have real device, so can i use keyboard on mac ?

Thanks

Anybody help me :frowning:

You have to add a keyboard dispatcher.

Check this pull request: https://github.com/cocos2d/cocos2d-x/pull/1848

I don’t know why it was never merged into the master branch. :frowning: