A trigger involving the accelerometer, can detect movement or a preset movement such as when the device is rotated from facing upwards to downwards, then moved foward on the z axis.