The LSM303C is a triple axis accelerometer and triple axis magnetic sensor, providing 6D of orientation detection.