Merge "Add support for reading the accelerometer"