Accelerometer control