Make one timeline, but change Current and Target rotation values when you press respective keys.
I used camera Y location, but it’s pretty much the same with your rotations.
As for the macro, you can do without it, but I made this one long ago and it saves a lot of trouble when it comes to pressing and releasing keys that do opposite things. Here it is, you can just copy it:
I hope the wires aren’t too confusing.