I ask you to consider the possibility of conditions in macros.
for example:
-if "A" is pressed, then RS(0,-50), else RS(0,50)
as well as the possibility of several conditions:
If A is pressed, then RS(0,-50)
Elif D is pressed, then RS(0,50)
else RS(0,0)