    def __init__(self, x, y, buttons):
        """
        :param x: The X coordinate of the mouse event.
        :param y: The Y coordinate of the mouse event.
        :param buttons: A bitwise flag for any mouse buttons that were pressed (if any).
        """
        self.x = x
        self.y = y
        self.buttons = buttons
:param x: The X coordinate of the mouse event.
:param y: The Y coordinate of the mouse event.
:param buttons: A bitwise flag for any mouse buttons that were pressed (if any).
asciimatics/event.py