def _get_acceleration(self): return osx_motion_sensor.get_coord()
def _enable(self): try: osx_motion_sensor.get_coord() except: raise Exception('Could not enable motion sensor on this macbook!')