How to trigger accelerator in iphone simulator?

I wrote a program which use the accelerator method.
In the layer, I add code like this " self.isAcceleratorEnabled = YES;"
but, the accelerametor method doesn’t been called in the simulator,
what’s wrong ? how to simulate touch in simulator ?

sorry, I only test accelerometer on the ios device.
in cocos2d-x, invoking CCLayer->setIsAccelerometerEnabled(true) will allow your layer to receive accelerometer datas from this method

void YouLayer::didAccelerate(CCAcceleration* pAccelerationValue)

You can read tests/AccelerometerTest.cpp for more details.