Available multiple CCAccelerometerDelegate?

Available multiple CCAccelerometerDelegate?
0.0 0


Can I add multiply CCAccelerometerDelegate on android?

Actually, I made two layers that had own implemented didAccelerate()
Both of delegates worked well at the same time when occurred accelerometer event on cocos2d-0.99.5-x-0.8.4

Recently, I tried to upgrade cocos2d-x version as cocos2d-1.0.1-x-0.10.0
But, those deletes worked only one

Does not support to register multiple delegate for accelerometer?


Yes, it only supports one delegate.


Can I know why?

performance issue? or android issue?


Because on iOS it can only register one delegate.
We should make all platforms the same effect.