Source code for replay_wizard.models.keyboard

"""
Action module
"""
from enum import Enum
from .action import Action


[docs] class ActionEnum(str, Enum): """ press or release """ PRESS = 'press' RELEASE = 'release'
[docs] class KeyboardAction(Action): """ Action model """ value: str action: ActionEnum = ActionEnum.PRESS subtype: str = 'KeyboardAction'