Hi all,
I’ve already submitted the following bug, but it still exists in 2.0.2, so I do it again.
I try to handle the hardware Back key on Android and it seems that the following event is never called:
cc.systemEvent.on(cc.SystemEvent.EventType.KEY_UP, function (event) {
if ((event.keyCode == cc.macro.KEY.back) || (event.keyCode == cc.macro.KEY.backspace)) {
// Your code here...
}
}, this);
If I use the KEY_DOWN constant, it works fine.
@pandamicro, would you be so kind as to investigate it?
Thanks in advance,
Zsolt