Accelerometer

Hi!

I have a question regarding Accelerometer.
How do I access it with Cocos2DX so that I can use the Accelerometer on all platforms?
Maybe Cocos2D doesn’t handle that part or how is it?

thanks

You can access data of accelerometer as a child of CCAccelerometerDelegate, just like CCLayer.
Cocos2d-x has wrapped this feature to be cross-platform.