Source code for replay_wizard.models.mouse
"""
Mouse actions
"""
from enum import Enum
from .action import Action
[docs]
class ScrollAction(MouseAction):
"""
Scroll mouse action
"""
dx: int
dy: int
subtype: str = 'ScrollAction'
[docs]
class ClickAction(MouseAction):
"""
Click mouse action
"""
button: Button
pressed: bool
subtype: str = 'ClickAction'