Accelerometer for tilt recognition- horizontal and vertical direction (in PlayActivity)