def _click(x, y, button):
if button == '<STR_LIT:left>':<EOL><INDENT>try:<EOL><INDENT>_sendMouseEvent(MOUSEEVENTF_LEFTCLICK, x, y)<EOL><DEDENT>except (PermissionError, OSError): <EOL><INDENT>pass<EOL><DEDENT><DEDENT>elif button == '<STR_LIT>':<EOL><INDENT>try:<EOL><INDENT>_sendMouseEvent(MOUSEEVENTF_MIDDLECLICK, x, y)<EOL><DEDENT>except (PermissionError, OSError): <EOL><INDENT>pass<EOL><DEDENT><DEDENT>elif button == '<STR_LIT:right>':<EOL><INDENT>try:<EOL><INDENT>_sendMouseEvent(MOUSEEVENTF_RIGHTCLICK, x, y)<EOL><DEDENT>except (PermissionError, OSError): <EOL><INDENT>pass<EOL><DEDENT><DEDENT>else:<EOL><INDENT>assert False, "<STR_LIT>"<EOL><DEDENT>
Send the mouse click event to Windows by calling the mouse_event() win32
    function.

    Args:
      button (str): The mouse button, either 'left', 'middle', or 'right'
      x (int): The x position of the mouse event.
      y (int): The y position of the mouse event.

    Returns:
      None