Improved Accelerometer driver.