Key down
Key up
Details [t("hello world!"),m(10,10,r),s(5),b(l),k(ctrl,p),k(uni('a')),k(ctrl,r)]

The example above becomes something like this:

[ Text("hello world!"), MoveMouse(10, 10, Relative), Scroll(5, Vertical), Button(Left, Click), Key(Control, Press), Key(Unicode('a'), Click), Key(Control, Release), ]

As you can see, Vertical is the default for the Scroll action if an axis is not specified, Click (press followed by release) is the default for the Button and Key actions if a direction is not specified, and so on.

You can find a list of all of the keycodes here. Please note that not all keycodes are available on all operating systems, as is marked on each such keycode on the line above it. You can find the possible buttons, directions, axis and coordinate types here.