Lines Matching refs:MODE
32 from firmware_constants import MODE, OPTIONS
94 mode = options[OPTIONS.MODE]
311 if self.options[OPTIONS.MODE] == MODE.NOISE:
354 print ' -m, --%s mode' % OPTIONS.MODE
444 OPTIONS.MODE: MODE.MANUAL,
463 OPTIONS.MODE + '=',
488 elif opt in ('-m', '--%s' % OPTIONS.MODE):
490 if arg in MODE.GESTURE_PLAY_MODE:
491 options[OPTIONS.MODE] = arg
493 print 'Warning: -m should be one of %s' % MODE.GESTURE_PLAY_MODE
516 print 'Note: the %s mode is used.' % options[OPTIONS.MODE]