def METHOD_NAME(
    self, METHOD_NAME: int, action: int = const.ACTION_DOWN, repeat: int = 0
) -> bytes:
    """
    Send keycode to device
    Args:
        keycode: const.KEYCODE_*
        action: ACTION_DOWN | ACTION_UP
        repeat: repeat count
    """
    return struct.pack(">Biii", action, METHOD_NAME, repeat, 0)