def METHOD_NAME(gesture_count):
  """Return list of random gesture command strings."""
  gesture_types = [
      'click --repeat TIMES,mbutton',
      'drag',
      'key,ctrl+minus',
      'key,ctrl+plus',
      'key,Function',
      'key,Letter',
      'key,Letters',
      'key,Modifier+Letter',
      'keydown,Letter',
      'keyup,Letter',
      'type,Chars',
      'type,Chars',
      'mousedown,mbutton',
      'mousemove --sync,x y',
      'mousemove_relative --sync,nx ny',
      'mouseup,mbutton',
  ]
  if not random.randint(0, 3):
    gesture_types.append('windowsize,P P')
  gestures = []
  for _ in range(gesture_count):
    random_gesture = utils.random_element_from_list(gesture_types)
    if random_gesture == 'drag':
      gestures.append('mousemove,%d %d' % (random.randint(0, SCREEN_WIDTH),
                                           random.randint(0, SCREEN_HEIGHT)))
      gestures.append('mousedown,1')
      gestures.append('mousemove_relative,0 1')
      gestures.append('mousemove_relative,0 -')
      gestures.append('mousemove,%d %d' % (random.randint(0, SCREEN_WIDTH),
                                           random.randint(0, SCREEN_HEIGHT)))
      gestures.append('mouseup,1')
      continue
    if 'Function' in random_gesture:
      random_gesture = (
          random_gesture.replace('Function', 'F%d' % random.randint(1, 12)))
    elif 'mbutton' in random_gesture:
      random_gesture = random_gesture.replace('TIMES', str(
          random.randint(1, 3)))
      picked_button = 1 if random.randint(0, 4) else random.randint(2, 5)
      random_gesture = random_gesture.replace('mbutton', str(picked_button))
    elif ',x y' in random_gesture:
      random_gesture = random_gesture.replace(
          ',x y', ',%d %d' % (random.randint(0, SCREEN_WIDTH),
                              random.randint(0, SCREEN_HEIGHT)))
    elif ',nx ny' in random_gesture:
      random_gesture = random_gesture.replace(
          ',nx ny', ',%d %d' %
          (random.randint(COORDINATE_DELTA_MIN, COORDINATE_DELTA_MAX),
           random.randint(COORDINATE_DELTA_MIN, COORDINATE_DELTA_MAX)))
    elif ',P P' in random_gesture:
      random_gesture = random_gesture.replace(
          ',P P',
          ',%d%% %d%%' % (random.randint(10, 100), random.randint(10, 100)))
    elif 'Chars' in random_gesture:
      random_gesture = random_gesture.replace('Chars',
                                              "'%s'" % get_text_to_type())
    else:
      if 'Modifier' in random_gesture:
        random_gesture = random_gesture.replace(
            'Modifier',
            utils.random_element_from_list([
                'alt', 'ctrl', 'control', 'meta', 'super', 'shift', 'ctrl+shift'
            ]))
      if 'Letters' in random_gesture:
        num_letters = random.randint(1, 10)
        letters = []
        for _ in range(num_letters):
          letters.append(
              utils.random_element_from_list([
                  'Escape', 'BackSpace', 'Delete', 'Tab', 'space', 'Down',
                  'Return', 'Up', 'Down', 'Left', 'Right',
                  chr(random.randint(48, 57)),
                  chr(random.randint(65, 90)),
                  chr(random.randint(97, 122))
              ]))
        random_gesture = random_gesture.replace('Letters', ' '.join(letters))
      elif 'Letter' in random_gesture:
        random_gesture = random_gesture.replace(
            'Letter',
            utils.random_element_from_list([
                'space',
                chr(random.randint(48, 57)),
                chr(random.randint(65, 90)),
                chr(random.randint(97, 122))
            ]))
        if 'ctrl+c' in random_gesture.lower():
          continue
    gestures.append(random_gesture)
  return gestures