Hi there.
I have been fiddling with cocos2d-x for a windows game, and have managed to capture events for onkeydown and onkeyup. These only fire once though.
I am working on movement in a game, and need a multi-firing key event. (like a keydown check) — How would I go about implementing this?
I had thought about just hooking the windows/mac/linux keyboard on my own in my game, but I’d prefer to use what the engine provides me.
I see the CCEventKeyboard class already has scancodes defined.