예제 #1
0
파일: test.py 프로젝트: jayhack/LeapDJ
def record (leap_receiver):

	print_notification ('Hit <enter> to start recording, <enter> again to stop')
	recorder = Recorder (leap_receiver)
	raw_input ()
	print "==========[ START RECORDING ]=========="
	recorder.start ()
	raw_input ()
	print "==========[ RECORDING COMPLETE ]=========="
	recorder.stop ()
	return recorder.get_motion_sequence ()