Add shake detection to Hypnosister project