What i'm trying to do at the moment is emulating a joystick action by pressing a key.
To be clear, i need my arcade stick to input a series of movements every time i press F1.
What i really don't understand is how to create an "action".
I'm enclosing a picture of what i've tried to do so far (setting the event that would start the macro) because i have the feeling that even the start is terribly wrong.

So, if i don't bother too much, i'd like a step by step helping hand.
Thanks in advance.