Check accelerometer in OSX