How do I change the input of the player movement randomly?

So I have the inputs for the player movement. But I want to it to be changed between the functions of the input randomly at a certain time. Originally swipeleft = a , swiperight = d , and tap = but I want the input key to change at a certain time for example swipeleft = d , swiperight =a and so on. How do I code the script? Thanks a lot, really appreciate it!

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;


public enum SIDE {  Left,Mid,Right}
public class Player : MonoBehaviour
{
    public SIDE m_Side = SIDE.Mid;
    float NewXPos = 0f;
    public bool SwipeLeft;
    public bool SwipeRight;
    public bool Tap;
    public float XValue;
    public float speed;
    public Vector2 targetPos;
    public float Xincrement;

    public int health = 2;
    void Start()
    {

        targetPos = new Vector2(0.0f, -0.38f);







    }


    void Update()
    {
        if (health <=0)
        {
            SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
        }
        transform.position = Vector2.MoveTowards(transform.position, targetPos, speed * Time.deltaTime);

        SwipeLeft = Input.GetKeyDown(KeyCode.A) || Input.GetKeyDown(KeyCode.LeftArrow);
        SwipeRight = Input.GetKeyDown(KeyCode.D) || Input.GetKeyDown(KeyCode.RightArrow);
        Tap = Input.GetKeyDown(KeyCode.W) || Input.GetKeyDown(KeyCode.UpArrow);
        if (SwipeLeft)
        {
            if (m_Side == SIDE.Mid)
            {
                NewXPos = -Xincrement;
                targetPos = new Vector2(transform.position.x - Xincrement, -0.38f);
                m_Side = SIDE.Left;
            }




        }
        else if (SwipeRight)
        {
            if (m_Side == SIDE.Mid)
            {
                NewXPos = Xincrement;
                targetPos = new Vector2(transform.position.x + Xincrement, -0.38f);
                m_Side = SIDE.Right;
            }



        }
        else if (Tap)
        {
            if (m_Side == SIDE.Left)
            {
                NewXPos = 0;
                targetPos = new Vector2(transform.position.x + Xincrement, -0.38f);
                m_Side = SIDE.Mid;
            } else if (m_Side == SIDE.Right)
            {
                NewXPos = 0;
                targetPos = new Vector2(transform.position.x - Xincrement, -0.38f);
                m_Side = SIDE.Mid;
            }
        }

    }


}

`

Two possible ways:

Create two ScriptableObjects NormalMove and FlippedMove which both derive from Move and have the Move class use an abstract method for Updating based off of input. Toggle in the NormalMove and FlippedMove as required.

Or, just create a MoveModifier variable, have it as either 1 or -1 and multiply your Increment variables by it.