reTerminal touch input needs rotation with xinput command. Unable to get command to auto-start on boot

As the title suggests, I need to rotate the touch input on the DSI display.

I am successful in rotating the input with

xinput set-prop ‘seeed-tp’ ‘Coordinate Transformation Matrix’ 1 0 0 0 1 0 0 0 1

Entered into the terminal.

I have tried:

sudo crontab -e

and adding

@reboot /bin/sleep 120; /usr/bin/xinput set-prop 'seeed-tp' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1

to the end and this does not work. I have to open terminal and type it in.

I have tried:

sudo nano /etc/rc.local

and making the end look iike this:

fi
/usr/bin/xinput set-prop ‘seeed-tp’ '‘Coordinate Transformation Matrix’ 1 0 0 0 1 0 0 0 1
exit 0

this does not work.

I have tried:

sudo nano /home/pi/.bashrc

and adding
fi
fi

sudo xinput set-prop ‘seeed-tp’ ‘Coordinate Transformation Matrix’ 1 0 0 0 1 0 0 0 1 >

to the end of that file. This does not work.

I don’t know what to do. Any help would be appreciated.