Keyboard events

Keyboard events
0.0 0



Does anyone have example code for getting keyboard events. I am coding using the recently released OSX port.

I looked at the CCKeypadDispatcher class but it appears to only support the Back and Menu buttons. I would like to keyboard events such as the Alpha keys etc…
I can see that CCLayer inherits from CCKeypadDelegate but that class only supports Back and Menu. Would I have to create my own CCKeypadDelegate and try to provide more keys or something?

Perhaps I am over looking something.